Here is what the above code is Doing:
1. We’re creating a new file called .env in the root of our project.
2. We’re adding the APP_ENV and APP_DEBUG variables to the file.
3. We’re setting the APP_ENV variable to production.
4. We’re setting the APP_DEBUG variable to false.