R

Ravina • 3.96K Points
Extraordinary

Q. Which Laravel command is used to create a new controller?

  • (A) php artisan make:controller
  • (B) php artisan new:controller
  • (C) php artisan create:controller
  • (D) php artisan generate:controller
  • Correct Answer - Option(A)
  • Views: 21
  • Filed under category Laravel
  • Hashtags:

Explanation by: Ravina

'php artisan make:controller' creates a new controller class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.