Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
AppFog の Laravel アプリで職人コマンドを実行するには?
次のようなコマンドを実行する必要があります。
php artisan down php artisan up
何か案が?
次のように、アプリ コード内で Artisan コマンドを実行できるようです。
Artisan::call('down');
参考:Laravelフォーラム
あなたが現在そうすることができるようには見えません.他の人々はこれにかなり悩まされているようです:
おそらく回避策は、職人のタスクを直接呼び出すアプリケーションのパスワードで保護された部分を構築することでしょうか?