Download the PHP package dravencms/database without Composer
On this page you can find all versions of the php package dravencms/database. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package database
DravenCMS Database
Doctrine ORM and Nettrine integration for DravenCMS. It configures the database connection, entity manager, migrations, fixtures, common entity traits, and package fixture discovery.
Features
- Nettrine DBAL and Doctrine ORM configuration.
- Project migrations stored under
migrations/and grouped by year. - Fixture loading from installed DravenCMS packages.
- DravenCMS entity manager and default repository classes.
- Reusable identifier, UUID, timestamp, and soft-delete traits.
- Atlantic18 behavior extension integration.
Installation
Define the connection parameters used by dravencms.config.neon:
Store production credentials in local or environment-specific configuration.
Entity Mapping
Feature packages add mappings to nettrine.orm.managers.default.mapping. New entities should use Doctrine PHP attributes. Common DravenCMS entities can compose these traits:
Migrations and Fixtures
Use the application's Nettrine/Doctrine console commands to generate and execute migrations. To purge the database and load all fixtures registered by DravenCMS package extensions, run:
The default-data command is destructive because Doctrine's fixture executor purges existing mapped data before loading fixtures. Run it only against a database that may be reset.
License
This package is licensed under the LGPL-3.0 license.
All versions of database with dependencies
nette/di Version ^3.0.9
nettrine/orm Version ^0.10.1
nettrine/dbal Version ^0.10.3
nettrine/migrations Version ^v0.10.1
nettrine/annotations Version ^0.9.0
nettrine/fixtures Version ^0.9.0
nettrine/extensions-atlantic18 Version ^0.7.1
dravencms/logging Version >=0.0.1
dravencms/console Version >=0.0.1