can we call artisan command using PHP exec or shell_exec or system function?
exec('php artisan list');
I have tried the above command in the controller but it is giving me an error saying 'Could not open input file: artisan' actually, I want to call another artisan command this just for testing
please guide me if am doing anything wrong here