Get all Artisan commands

Published 7 months ago by bestmomo

Hello,

To get all Artisan commands we can use the all method inherited from symfony with Artisan::all(). But with this method we dont get the custom packages commands.

Does someone knows a simple way to get them to avoid searching in symfony ? Thanks...

Snapey
Snapey
7 months ago (959,275 XP)

try looking for the code that produces the list of artisan commands when you just run php artisan

bestmomo

Thanks,

I tried but it's a long Symfony trip...

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