marcoshoo / propel-eloquent by marcoshoo

Propel2 behavior that makes model classes virtually extend a Eloquent model class
367
1
1
Package Data
Maintainer Username: marcoshoo
Maintainer Contact: marcos.hoo@gmail.com (Marcos Soares)
Package Create Date: 2015-09-05
Package Last Update: 2020-02-25
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-17 03:01:35
Package Statistics
Total Downloads: 367
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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