marcoshoo / propel-eloquent
Propel2 behavior that makes model classes virtually extend a Eloquent model class
Installs: 367
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:propel-behavior
This package is not auto-updated.
Last update: 2024-12-07 19:07:07 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