php - How to execute external shell commands from laravel controller? - Stack Overflow

PHOTO EMBED

Mon Feb 20 2023 23:35:34 GMT+0000 (Coordinated Universal Time)

Saved by @mvieira

Artisan::call('test:clean');
content_copyCOPY

https://stackoverflow.com/questions/54266041/how-to-execute-external-shell-commands-from-laravel-controller