PHP Classes

File: public/index.php

Recommend this page to a friend!
  Classes of Thiago Przyczynski   PHP Busca CEP Correios   public/index.php   Download  
File: public/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Busca CEP Correios
API to search for Brazilian zip codes
Author: By
Last change:
Date: 4 years ago
Size: 922 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(/*$app->make('request')*/);