How to Connecting to Database in Laravel ?



How to Connecting to Database in Laravel ?..

Answer / surbhi

Configure the database in config/database.php file and create the college database with structure in MySQL.
Database: College
Table: student

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Laravel PHP Framework Interview Questions

What is reverse routing?

0 Answers  


Tell me what are the official packages provided by laravel?

0 Answers  


What is a route?

0 Answers  


What are helper functions and name 10 with their purposes?

0 Answers  


How long have you been using laravel?

0 Answers  






How to configure clear route cache in laravel?

0 Answers  


How can you generate urls?

0 Answers  


State the difference between authentication and authorization.

0 Answers  


What is laracasts?

0 Answers  


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

0 Answers  


How to get user’s ip address in laravel?

0 Answers  


What are the advanced features of laravel 6.0?

0 Answers  


Categories