Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```