JesseObrien/laravel-cheatsheet

Artisan from routes or controller

bradleySuira opened this issue · 2 comments

Hi, i'm not shure is it's very important to add but Laravel 4 have a lot of features hidden :), i found the option to run artisan commands from route or controller, like Artisan::call('migrate:install'); or Artisan::call('migrate', [ '--path'=>'app/database/migrations' ]); Artisan::call('db:seed');

http://paste.laravel.com/10g9

Regards

I believe this is something more suited for the new laravel-tricks.com

The cheat sheet is more of a quick reference for common stuff.

Ok, perfect, and thanks for you advice.

Regards

Saludos,

*Bradley Suira *
+(507) 6590 7656 | skype: bradley.suira

On Tue, Dec 10, 2013 at 8:26 PM, chad d notifications@github.com wrote:

I believe this is something more suited for the new laravel-tricks.com

The cheat sheet is more of a quick reference for common stuff.


Reply to this email directly or view it on GitHubhttps://github.com//issues/34#issuecomment-30286162
.