Laravel execute artisan commands from controller
Laravel execute artisan commands from controller Commands for clear application cache php artisan cache:clearphp artisan view:clearphp artisan route:clearphp artisan clear-compiledphp artisan config:cache Call above commands in controller click for more Laravel codes read about laravel artisan commands