laravel extend base controller using artisan command code example Example: create resource controller in admin folder laravel php artisan make:controller test/TestController