PHP code example of eureciclo / gae-support-laravel
1. Go to this page and download the library: Download eureciclo/gae-support-laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
$app = new A1comms\GaeSupportLaravel\Foundation\Application(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use A1comms\GaeSupportLaravel\Foundation\Exceptions\Handler as ExceptionHandler;
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/
$app = new A1comms\GaeSupportLaravel\Foundation\LumenApplication(
$_ENV['APP_BASE_PATH'] ?? dirname(__DIR__)
);
use Laravel\Lumen\Exceptions\Handler as ExceptionHandler;
use A1comms\GaeSupportLaravel\Foundation\Exceptions\LumenHandler as ExceptionHandler;