PHP code example of hexide-digital / model-permissions
1. Go to this page and download the library: Download hexide-digital/model-permissions 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/ */
hexide-digital / model-permissions example snippets
"providers" = [
// ...
HexideDigital\ModelPermissions\ModelPermissionsServiceProvider::class,
// ...
],
shell
$ php artisan vandor:publish --tag=model-permissions-configs
$ php artisan vandor:publish --tag=model-permissions-migrations