Execute Artisan command from code
I'm writing some maintenance functions for my website and I would like to know if there is a way to execute commands like
php artisan migrate:fresh
from a php script.
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!