Friday, June 28, 2024
No menu items!
Google search engine
HomeLaravelHow to Create Controller in Laravel 9 using Artisan Command?

How to Create Controller in Laravel 9 using Artisan Command?

In this blog , I will show you how to create a new controller using the Artisan Command in laravel 9. You can create a controller easily in laravel.

Open the project source folder with cmd or git-sch tool

Now enter the artisan command to create the controller

php artisan make:controller NewController

After entering the command controller is created. Now you can find the controller in the folder app\Http\Controllers.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments