PHP code example of justbetter / statamic-veto
1. Go to this page and download the library: Download justbetter/statamic-veto 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/ */
justbetter / statamic-veto example snippets
return [
'permissions' => [
'global' => 'edit all globals',
'entry' => 'edit all entries',
'term' => 'edit all terms',
],
];
bash
php artisan vendor:publish --provider="JustBetter\Veto\ServiceProvider" --tag="config"