archim / product
Product archetype: versioned definitions of products and packages, with features, composition, relationships and the parties behind them
v0.1.0
2026-12-03 19:05 UTC
Requires
- php: ^8.5
- ext-bcmath: *
- ext-filter: *
- ext-mbstring: *
- archim/common: ^0.1
- archim/messaging: ^0.1
- beberlei/assert: ^3.3.2
- doctrine/dbal: ^4.0
- ecotone/dbal: ^1.328.3
- ecotone/ecotone: ^1.328.3
- ecotone/enqueue: ^1.328.3
- ecotone/pdo-event-sourcing: ^1.328.3
- queue-interop/queue-interop: ^0.8.1
- ramsey/uuid: ^4.9
Requires (Dev)
- archim/party-contract: ^0.1
- archim/product-contract: ^0.1
- archim/testing: ^0.1
- phpunit/phpunit: ^13.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-03 19:10:54 UTC
README
The Product archetype of ArchIM: the office of definitions. It answers what can be offered, what it consists of, how products relate to each other and which parties stand behind a product. It knows nothing about campaigns, channels or customers; those belong to the modules that use its definitions.
What it answers
- Which product types and packages exist, and which features may vary within which constraints?
- Are these feature values valid for this product type, and is this selection valid for this package?
- Which version of a definition was valid on a given day, and what replaced what?
- When does a definition apply?
- What does a product consist of, and where is a component used?
- Which products complement, replace, substitute or are compatible with this one?
- Which parties stand behind a product (manufacturer, brand owner, importer), and since when?
What it provides
- Product and package definitions with typed features and their constraints, validated in the model, and applicability rules.
- Immutable versions: a draft is published as the next version, valid from a business date; a change is a new version, and a withdrawal ends the definition.
- Relationships between products (composition, replacements, complements, compatibility) and links between products and parties in roles, each with a validity.
- Read models of versions, relationships and links, and public events that carry the full published definition, so that consumers never need to call back.
- Parties are known from Party's public events, through Product's own identifier of a party.
Documentation
- Product in the target model: model, examples, published language and decisions.
- Using a module: wiring, database, processes and integration.
archim/product-contract: the JSON Schemas of Product's messages.- Decisions: product references parties, immutable versions of definitions.
License
Apache License 2.0: see the LICENSE file.