File: public/index.php

Recommend this page to a friend!
  Classes of Nahidul Hasan  >  Lumen PHP JWT API Authentication  >  public/index.php  >  Download  
File: public/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Lumen PHP JWT API Authentication
Create an API that supports JSON Web tokens
Author: By
Last change:
Date: 9 months ago
Size: 897 bytes
 

Contents

Class file image Download
<?php

/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| First we need to get an application instance. This creates an instance
| of the application / container and bootstraps the application so it
| is ready to receive HTTP / Console requests from the environment.
|
*/

$app = require __DIR__.'/../bootstrap/app.php';

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/

$app->run();


For more information send a message to info at phpclasses dot org.