What is php artisan. List out some artisan commands?



What is php artisan. List out some artisan commands?..

Answer / Savita Chauhan

PHP Artisan is a command-line tool that comes with Laravel. It helps in creating, building, and managing your application. Some common Artisan commands are: 1. 'php artisan make:model ModelName' for creating a new model, 2. 'php artisan migrate' to run migrations, 3. 'php artisan route:list' for listing all routes, 4. 'php artisan serve' to start the development server, and 5. 'php artisan make:controller ControllerName' to create a new controller.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

How to generate application key in laravel?

1 Answers  


Explain how to do subdomain routing in laravel?

1 Answers  


Explain the concept of contracts in laravel.

1 Answers  


What is laravel api rate limit?

1 Answers  


Explain auth.

1 Answers  


Explain homestead in laravel.

1 Answers  


How to use cookies in laravel?

1 Answers  


How to configure route cache and clear route cache in laravel?

1 Answers  


What are helper functions and name 10 with their purposes?

1 Answers  


What is the use of dd() function?

1 Answers  


What is seeding in laravel?

1 Answers  


How do I turn off csrf protection?

1 Answers  


Categories