Laravel extension package.
Extends the core laravel framework, providing easier, faster development experience.
Check out the wiki to view examples and full documentation.
Use composer to download the package into your project.
composer require kevupton/ethereal
Then add the Kevupton\Ethereal\Providers\EtherealServiceProvider
to your app.php
config file under providers
'providers' => [
/*
* Laravel Framework Service Providers...
* Place at the end of the array
*/
Kevupton\Ethereal\Providers\EtherealServiceProvider::class,
],
Just extend the Kevupton\Ethereal\Models\Ethereal
class instead of Laravel Model class, for each of your models you want Ethereal functionality.
<?php namespace My\Namespace\Location;
use Kevupton\Ethereal\Models\Ethereal;
class Example extends Ethereal { }
Check out the wiki for the complete documentation on how to use.
Author: Kevin Upton