We know, Laravel framework is current technology trend. I am facing the issue to create controller in laravel 5.
Because of above mention artisan use for the Larvel 4 and not for Larvel 5.
So there is the way in Laravel 4, but in Laravel 5 you should use it backwards php artisan
Solution for controller creation in Laravel 5.
Hope it will help to you to controller creation in Laravel 5 application.
When I was following along with Learning Laravel 4 Application Development
I attempt to create my first controller with artisan by doing the following:
php artisan Usercontroller:make usersBut when I did for Larvel 5 application controller, getting an error:
[InvalidArgumentException] There are no commands defined in the "Usercontroller" namespace. Did you mean this? controllerWhat is happening here?
Because of above mention artisan use for the Larvel 4 and not for Larvel 5.
So there is the way in Laravel 4, but in Laravel 5 you should use it backwards php artisan
Solution for controller creation in Laravel 5.
php artisan make:controller Usercontroller
Hope it will help to you to controller creation in Laravel 5 application.
0 comments:
Post a Comment