laravel policy repository code example Example: laravel policy create php artisan make:policy PostPolicy --model=Post