PHPackages                             phpalchemy/propel-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. phpalchemy/propel-service-provider

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

phpalchemy/propel-service-provider
==================================

Propel integration for PhpAlchemy.

07PHP

Since Mar 24Pushed 12y ago1 watchersCompare

[ Source](https://github.com/phpalchemy/PropelServiceProvider)[ Packagist](https://packagist.org/packages/phpalchemy/propel-service-provider)[ RSS](/packages/phpalchemy-propel-service-provider/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PropelServiceProvider
=====================

[](#propelserviceprovider)

The *PropelServiceProvider* provides integration with [Propel2](http://www.propelorm.org).

Parameters
----------

[](#parameters)

- **propel.path** (optional): The path in which Propel.php will be found. Usually, for PEAR installation, it is `propel` while for Git installation it is `vendor/propel/runtime/lib`. Default is `/full/project/path/vendor/propel/propel1/runtime/lib`.
- **propel.config\_file** (optional): The name of Propel configuration file with full path. Default is `/full/project/path/build/conf/projectname-conf.php`
- **propel.model\_path** (optional): Path to where model classes are located. Default is `/full/project/path/build/classes`

> It's strongly recommanded to use **absolute paths** for previous options.

Services
--------

[](#services)

No service is provided.

Propel configures and manages itself by **using** static methods, so no service is registered into Application. Actually, the PropelServiceProvider class initializes Propel in a more "PhpAlchemy-ian" way.

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

[](#registering)

Make sure you place a copy of *Propel* in `vendor/propel` or install it through PEAR, or Composer.

For more informations consult the [Propel documentation](http://www.propelorm.org/documentation/01-installation.html):

```
