PHPackages                             palma/doctrineormserviceprovider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. palma/doctrineormserviceprovider

ActiveLibrary[Database &amp; ORM](/categories/database)

palma/doctrineormserviceprovider
================================

A Silex DoctrineORM Service provider

1.0(8y ago)112.7k↓100%4MITPHPPHP &gt;=5.3.3

Since Oct 7Pushed 8y ago3 watchersCompare

[ Source](https://github.com/palmasev/DoctrineORMServiceProvider)[ Packagist](https://packagist.org/packages/palma/doctrineormserviceprovider)[ RSS](/packages/palma-doctrineormserviceprovider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

DoctrineORM Service Provider for Silex
======================================

[](#doctrineorm-service-provider-for-silex)

This library provides you a Silex DoctrineORM Service provider.

This service provider requires PHP 5.3+, Silex and DoctrineORM.

DoctrineORM is included in composer.json.

Parameters
----------

[](#parameters)

- **doctrine\_orm.entities\_path**: The path to entities.
- **doctrine\_orm.proxies\_path**: The path to proxies.
- **doctrine\_orm.proxies\_namespace**: The proxies namespace.
- **doctrine\_orm.connection\_parameters**: Array of Doctrine DBAL connection params. The DBAL configuration is explained in [DBAL configuration](http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html)
- **doctrine\_orm.metadata\_cache**: Optional. This param sets the cache implementation to use for caching metadata information. The default value is Doctrine\\Common\\Cache\\ArrayCache. Don't use it for production.
- **doctrine\_orm.query\_cache**: Optional. This param sets the cache implementation to use for caching DQL queries. The default value is Doctrine\\Common\\Cache\\ArrayCache. Don't use it for production.
- **doctrine\_orm.result\_cache**: Optional. This param sets the cache implementation to use for caching query results information.
- **doctrine\_orm.autogenerate\_proxy\_classes**: Sets whether proxy classes should be generated automatically at runtime by Doctrine. If set to FALSE, proxy classes must be generated manually through the doctrine command line task generate-proxies. The strongly recommended value for a production environment is FALSE. The default value is TRUE.
- **doctrine\_orm.simple\_annotation\_reader**: Optional. This annotation reader is intended to be used in projects where you have full-control over all annotations that are available.

Registering
-----------

[](#registering)

```
