dk4210
2 years ago
68
28
Testing

Invoking the Artisan Dusk command outside the CLI

Posted 2 years ago by dk4210

Hello Guys,

I can't seem to figure out how to run the Artisan Dusk Command via route.

I have the following but doesn't work

Route::get('/logintest', function() 
{
     Artisan::queue('command:dusk);
});

Please advise.

Please sign in or create an account to participate in this conversation.