adspace


How to create Creating a Controller ?

Answer Posted / Pankaj Kumar Dagar

To create a controller in Laravel, you can use the `make:controller` Artisan command followed by the name of your controller. For example: `php artisan make:controller MyController`. This will generate a new PHP file located in the App/Http/Controllers directory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is current stable version of laravel?

870


What is latest version of laravel?

869


Do you know what version of laravel do you generally use?

839


How much laravel experience do you have?

815


Tell us have you used lumen before?

808