Laravel database configuration

When you install laravel manually then you can find .env.example file in your laravel installation root folder.Then you need to rename it to .env.

But when you will install laravel using composer then you can find .env file in your laravel installation folder.

You can configure your database by editing .env file,the default configuration is for MYSQL.

When you edit .env file you need to change below info:

Gaurav Kumar

Hi, my name is Gaurav Kumar and I specialize in Computer Software industry. I have been working as a Software Developer from last 3+ years,and its my passion to learn new technology and sharing what I've learned.