Download the PHP package coolms/core without Composer
On this page you can find all versions of the php package coolms/core. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package core
coolms/core
The kernel contracts of the CoolMS platform. Entity vocabulary, persistence-neutral mapping attributes, domain events, and the seams every module implements.
Four dependencies, all Symfony components. No ORM, no framework, no bundle.
That entity is mapped by whichever persistence adapter is installed. It names none of them.
Installation
On its own this package gives you contracts and value objects. To persist anything you also need an adapter — see Persistence.
What is in here
| Area | What it holds |
|---|---|
Mapping/ |
Column, Id, GeneratedValue — persistence-neutral attributes |
Identifier/, Timestampable/, Blameable/ |
the reusable entity traits and their contracts |
Attribute/ |
ClassMeta, FieldMeta — how a class describes itself to the platform |
Event/, Lifecycle/ |
domain events, recorded-event providers, entity lifecycle events |
Outbox/, Inbox/, ChangeFeed/ |
the transactional outbox, consumer idempotency, and sync change-feed rows plus their ports |
Config/, Secret/, Option/ |
configuration loading, the secret-store contract, option sources |
Backup/, Retention/ |
the backup contributor seam and the retention pruner port |
Persistence
The mapping attributes are declarations; something has to read them. A
persistence adapter package provides
coolms/core-persistence-implementation and does the reading:
The attribute vocabulary is deliberately small — the columns the traits actually use, and nothing else. It is a translation, not a second mapping layer: the moment it grows associations or inheritance, there are two schemas to keep in step instead of one.
Related packages
| Package | Role |
|---|---|
coolms/core-application |
application services composed over these contracts |
coolms/core-bundle |
Symfony integration |
coolms/core-doctrine |
Doctrine ORM/DBAL adapter |
License
MIT. See LICENSE.
All versions of core with dependencies
coolms/rql Version ^1.0
symfony/messenger Version ^8.0
symfony/serializer Version ^8.0
symfony/uid Version ^8.0
symfony/yaml Version ^8.0