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 can I do with laravel?

0 Answers  


How do I log an error?

0 Answers  


Tell me in which language it was written?

0 Answers  


What is luman?

0 Answers  


List basic concepts in laravel?

0 Answers  


Explain the difference between laravel 4 and laravel 5?

0 Answers  


What is use of middleware in laravel?

1 Answers  


Why we use csrf token in laravel?

0 Answers  


Tell us what are bundles, reverse routing and the ioc container?

0 Answers  


What is homestead.yaml?

0 Answers  


In which directory laravel configartion files are kept.

0 Answers  


What is slug in laravel?

0 Answers  


Categories