Package Data | |
---|---|
Maintainer Username: | arroyolabs |
Maintainer Contact: | john@arroyolabs.com (John Arroyo) |
Package Create Date: | 2016-03-06 |
Package Last Update: | 2017-04-14 |
Home Page: | http://erdiko.org/framework/databases/ |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-20 03:01:08 |
Package Statistics | |
---|---|
Total Downloads: | 588 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 3 |
Total Forks: | 5 |
Total Open Issues: | 0 |
Use the Eloquent ORM from Laravel in your Erdiko app
Eloquent is a great ORM that uses the active record pattern.
You can use this to easily add Eleoquent to your erdiko app
To install via composer
composer require erdiko/eloquent
In order to use Eloquent in your framework you can do one of the following
require_once VENDOR.'/erdiko/eloquent/src/bootstrap.php';
class Users extends erdiko\eloquent\Model { }
class BaseModel extends \Illuminate\Database\Eloquent\Model {
use \erdiko\eloquent\EloquentTraits;
}
Remember you only need to pick one scheme above, no need for all three. #2 is probably the most convenient.
Coming Soon
http://erdiko.org
https://laravel.com/docs/5.1/eloquent