How to run an artisan command on my Laravel app in AppFog?
I need to run commands like this:
php artisan down
php artisan up
Any idea?
How to run an artisan command on my Laravel app in AppFog?
I need to run commands like this:
php artisan down
php artisan up
Any idea?
It looks like I can run Artisan commands within my app code, like this:
Artisan::call('down');
Reference: Laravel Forums
It doesn't look like you can currently do so, other people seem pretty annoyed by this:
Perhaps a work around could be constructing a password protected part of your application that calls the artisian tasks directly?