PHP code example of desilva / filament-policies

1. Go to this page and download the library: Download desilva/filament-policies 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/ */

    

desilva / filament-policies example snippets


return [
    //
];
bash
echo "Hello World!" > resources/markdown/policies/terms-of-service.md
bash
php artisan vendor:publish --tag="filament-policies-config"
bash
php artisan vendor:publish --tag="filament-policies-views"