berlioz / atlas-package
Atlas.ORM package for Berlioz Framework
Installs: 3 058
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:berlioz-package
Requires
- php: ^8.0
- atlas/cli: ^2.2
- atlas/orm: ^3.1
- atlas/transit: 0.x-dev
- berlioz/cli-core: ^2.0
- doctrine/sql-formatter: ^1.1
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-11-26 16:21:59 UTC
README
This package is intended to provide Atlas in Berlioz Framework.
Atlas is a database framework for PHP to help you work with your persistence model, while providing a path to refactor towards a richer domain model as needed.
For more information, and use of Berlioz Framework, go to website and online documentation : https://getberlioz.com
Installation
Composer
You can install Atlas Package with Composer, it's the recommended installation.
$ composer require berlioz/atlas-package
Dependencies
- PHP >= 7.1
- Packages:
- berlioz/core
- atlas/orm
- atlas/cli
Usage
Package add a service named atlas
, who correspond to the \Atlas\Orm\Atlas
class.
See Atlas ORM documentation for more information.
Configuration
Default configuration:
{ "atlas": { "pdo": { "connection_locator": { "default": { "dsn": null, "username": null, "password": null }, "read": {}, "write": {} } }, "orm": { "atlas": { "transaction_class": "Atlas\\Orm\\Transaction\\AutoTransact", "log_queries": "%berlioz.debug%" } } } }