How to use laravel framework in php?



How to use laravel framework in php?..

Answer / Sonu Chand Saini

To use Laravel, first, you need to install it globally using Composer. Then, create a new project with 'laravel new <project-name>', navigate into the project directory, and start a development server with 'php artisan serve'. Finally, access your application by visiting http://127.0.0.1:8000 in your browser.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

Explain faker in laravel.

1 Answers  


Is laravel a good framework?

1 Answers  


What are laravel’s contracts?

1 Answers  


How can someone change the default database type in laravel?

1 Answers  


Where do you locate route files?

1 Answers  


What is the difference between facades vs helper functions?

1 Answers  


Explain dependency injection?

1 Answers  


How to fetch data from database in laravel?

1 Answers  


How do I use eloquent to get a list of comments with one author each avoiding n+1 queries?

1 Answers  


Explain facades in laravel?

1 Answers  


How install react js in laravel?

1 Answers  


List out some artisan commands?

1 Answers  


Categories