Hi, I have just published “Laravel 5.7.*: Middleware, Authentication, and Authorization Explained”. This book is 60% complete and I am currently working on it. Download your free copy and give valuable feedback.
Laravel comes with many stunning features. One of them is definitely database migrations. In the next chapter we’ll discuss about migration in detail.
Before that we need to understand our environment properly. What is environment in Laravel? If you look at the document root you will find an ‘.env’ file. It basically says about the database connections. Where would we get that default database set up file? In the ‘config’ folder, we have a ‘database.php’ file. Open it up and see the content.