I am newbie with Laravel and I played around laravel 4(Beta version). I want to know how to generate Controller and Model by command line use php artisan
. But I don't know how to do them.
I am newbie with Laravel and I played around laravel 4(Beta version). I want to know how to generate Controller and Model by command line use php artisan
. But I don't know how to do them.
See this video: http://youtu.be/AjQ5e9TOZVk?t=1m45s
You can do php artisan list
to view all commands,
The command for generating REST-ful controllers is controller:make
You can view the usage with: php artisan help make:controller