PHPackages                             enyoslutions/doctrine-orm-service-provider - 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. enyoslutions/doctrine-orm-service-provider

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

enyoslutions/doctrine-orm-service-provider
==========================================

A Silex DoctrineORM Service provider

1.0.1(11y ago)092MITPHPPHP &gt;=5.3.3

Since Nov 28Pushed 11y ago1 watchersCompare

[ Source](https://github.com/enyosolutions/DoctrineORMServiceProvider)[ Packagist](https://packagist.org/packages/enyoslutions/doctrine-orm-service-provider)[ RSS](/packages/enyoslutions-doctrine-orm-service-provider/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (2)Versions (3)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)

- **orm.entities\_path**: The path to entities.
- **orm.proxies\_path**: The path to proxies.
- **orm.proxies\_namespace**: The proxies namespace.
- **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)
- **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.
- **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.
- **orm.result\_cache**: Optional. This param sets the cache implementation to use for caching query results information.
- **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.

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

[](#registering)

```
