PHP code example of propel / propel-service-provider
1. Go to this page and download the library: Download propel/propel-service-provider library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
propel / propel-service-provider example snippets
php
$app['propel.config_file'] = __DIR__.'/path/to/myproject-conf.php';
$app['propel.model_path'] = __DIR__.'/path/to/model/classes';
$app->register(new Propel\Silex\PropelServiceProvider());
php
$app->register(new Propel\Silex\PropelServiceProvider());