title: How to change the environment in Laravel 5.1?
body: <p>What I understand about the working of environments in Laravel is that you have different environments for different, well environments. So, if you are running your app locally you could have a <code>.env.local</code> file. If you are testing or on production, you could use <code>.env.testing</code> or <code>.env.production</code>. <strong>(Correct me if I am wrong.)</strong><br>
  By default we get <code>.env</code> file that we can edit. But can anybody tell me what is the workflow of changing the environments in Laravel. I tried the documentation but I couldn't get it. Please help me. </p>