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