1. Go to this page and download the library: Download imagina/bcrud-module library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
namespace MyApp\Models;
class Article extends Eloquent {
use \Backpack\CRUD\CrudTrait, \Venturecraft\Revisionable\RevisionableTrait;
// If you are using another bootable trait the be sure to override the boot method in your model
public static function boot()
{
parent::boot();
}
}