Laravel connects to the database on every request. How can I stop this?
<p>I'm using Laravel 5 and I noticed that on every page load, laravel tries to connect to the database. You can check for this behaviour by setting invalid credentials for the default database. You'll get an error on every page load, so this means that Laravel tries connect to the database. This even happens on maintenance mode pages.</p>

<p>Why is this? Is there any to stop Laravel from doing this? There's no need to connect to the database on pages that don't query the database.</p>