Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edwin-luijten/mini-doctrine-bundle
Doctrine bundle which does not depend on the symfony framework bundle
https://github.com/edwin-luijten/mini-doctrine-bundle
Last synced: about 2 months ago
JSON representation
Doctrine bundle which does not depend on the symfony framework bundle
- Host: GitHub
- URL: https://github.com/edwin-luijten/mini-doctrine-bundle
- Owner: Edwin-Luijten
- Created: 2016-11-01T18:25:42.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-11-08T14:09:12.000Z (about 8 years ago)
- Last Synced: 2024-11-09T14:07:05.525Z (about 2 months ago)
- Language: PHP
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mini Doctrine Bundle
This bundle does not depend on the Symfony framework bundle.
## Configuration
```yml
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
```