marcoshoo/propel-eloquent

Propel2 behavior that makes model classes virtually extend a Eloquent model class

0.1 2016-06-25 17:49 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:43:31 UTC


README

Propel2 behavior that makes model classes virtually extend a Eloquent model class

Installation

Add MarcosHoo\PropelEloquent as a requirement to composer.json:

{
    "require": {
        "marcoshoo/propel-eloquent": "dev-master"
    }
}

Update your packages with composer update or install with composer install.

Configuration

Add the eloquent behavior in schema.xml:

    .
    .
    .
    <behavior name="eloquent" />
  </table>

Regenerate your propel models:

php artisan propel:model:build