csgt/crud

There is no license information available for the latest version (v8.0.6) of this package.

CRUD implementation

Maintainers

Details

github.com/csgt/crud

Source


README

This package is used to generate cruds.

Upgrade from version 6 to version 8

Add the following includes:

use Illuminate\Http\Request;
use Csgt\Cancerbero\Facades\Cancerbero;

Rename the __construct method to:

public function setup(Request $request)

Call the setPermissions directly

$this->setPermissions(Cancerbero::crudPermissions('module'));

Remove all references to Crypt::encrypt and Crypt::decrypt if any methos were overriden.

Remove the enclosing middleware. It is now unnecessary.

$this->middleware(function ($request, $next) {

    return $next($request);
});