PHP Classes

File: public/index.php

Recommend this page to a friend!
  Classes of Okanlawon Anuoluwapo   Book Library   public/index.php   Download  
File: public/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Book Library
Application to manage a book library
Author: By
Last change:
Date: 1 month ago
Size: 468 bytes
 

Contents

Class file image Download
<?php

use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));

// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
    require
$maintenance;
}

// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';

// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
    ->
handleRequest(Request::capture());