2017 © Pedro Peláez
 

library propel-laravel

Propel integration for Laravel framework.

image

allboo/propel-laravel

Propel integration for Laravel framework.

  • Tuesday, November 4, 2014
  • by allBoo
  • Repository
  • 1 Watchers
  • 5 Stars
  • 422 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 7 % Grown

The README.md

propel-laravel

Propel2 integration for Laravel framework 4, (*1)

Usage

Require this package with composer using the following command:, (*2)

composer require allboo/propel-laravel

After updating composer, add the ServiceProviders to the providers array in app/config/app.php, (*3)

'Allboo\PropelLaravel\GeneratorServiceProvider',
'Allboo\PropelLaravel\RuntimeServiceProvider',

Create Propel configuration file app/config/propel.php Note: See example config in example/config/propel.php Within provided config schemas files are located into app/database/ folder, models are generated into app/models, migrations into app/database/migrations, (*4)

You can now use Propel commands via artisan, ex, (*5)

php artisan propel:build

etc., (*6)

Static Configuration

By default it builds configuration from main config app/config/propel.php in runtime but you may build static config app/propel/config.php by running, (*7)

propel:convert-conf

Services

No service is provided., (*8)

Propel configures and manages itself by using static methods and its own service container, so no service is registered into Application. Actually, the GeneratorServiceProvider class injects Propel tasks into artisan tasks list with prefix propel: RuntimeServiceProvider class initializes Propel runtime configuration, (*9)

See also

Make Propel models work with Laravel Form::model() without making it an array, (*10)

The Versions

04/11 2014

dev-master

9999999-dev

Propel integration for Laravel framework.

  Sources   Download

MIT

The Requires

 

by Alex Kazinskiy

orm laravel active record propel

04/11 2014

v1.0.0

1.0.0.0

Propel integration for Laravel framework.

  Sources   Download

MIT

The Requires

 

by Alex Kazinskiy

orm laravel active record propel