mini-symfony / mini-doctrine-bundle
Doctrine bundle which does not depend on the symfony framework bundle
0.0.3
2016-11-08 14:08 UTC
Requires
- php: ^5.5.9|^7.0
- doctrine/doctrine-cache-bundle: ^1.3
- doctrine/orm: ^2.5
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.0
- squizlabs/php_codesniffer: ~2.0
This package is auto-updated.
Last update: 2024-11-13 20:57:02 UTC
README
This bundle does not depend on the Symfony framework bundle.
Configuration
doctrine: dbal: driver: pdo_mysql host: "%database_host%" port: "%database_port%" dbname: "%database_name%" user: "%database_user%" password: "%database_password%" charset: UTF8 # if using pdo_sqlite as your database driver: # 1. add the path in parameters.yml # e.g. database_path: "%kernel.root_dir%/data/data.db3" # 2. Uncomment database_path in parameters.yml.dist # 3. Uncomment next line: # path: "%database_path%" orm: auto_generate_proxy_classes: "%kernel.debug%" naming_strategy: doctrine.orm.naming_strategy.underscore auto_mapping: true