Skip to content

Instantly share code, notes, and snippets.

Created May 28, 2020 15:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ahmeti/9d1ac49d1f9159acdb2274f2768d9b05 to your computer and use it in GitHub Desktop.
Laravel Index & Register Shutdown Function
function shutdown(){
$includedFiles = print_r(get_included_files(), true);
* Laravel - A PHP Framework For Web Artisans
* @package Laravel
* @author Taylor Otwell <>
define('LARAVEL_START', microtime(true));
| Register The Auto Loader
| Composer provides a convenient, automatically generated class loader for
| our application. We just need to utilize it! We'll simply require it
| into the script here so that we don't have to worry about manual
| loading any of our classes later on. It feels great to relax.
require __DIR__.'/../vendor/autoload.php';
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment