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 an observer in laravel?

0 Answers  


What are the default ports that are forwarded to your homestead environment?

0 Answers  


How to enable maintenance mode in laravel 5?

0 Answers  


Tell me what is laravel eloquent?

0 Answers  


Explain bundles in laravel?

0 Answers  






Explain the middlewares in laravel?

0 Answers  


What is laravel orm?

0 Answers  


What do you mean by dusk used in laravel 5?

0 Answers  


What do you know about closures in laravel?

0 Answers  


How to start and stop valet?

0 Answers  


How will you explain dd() function in laravel?

0 Answers  


Name some inbuilt authentication controllers of laravel.

0 Answers  


Categories