PHP Classes

File: samples/cakephp/webroot/index.php

Recommend this page to a friend!
  Packages of Jonatas Matheus Gino de Souza   PHP Service Runner   samples/cakephp/webroot/index.php   Download  
File: samples/cakephp/webroot/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Service Runner
Invoke services using payload data as parameters
Author: By
Last change:
Date: 11 days ago
Size: 232 bytes
 

Contents

Class file image Download
<?php

require dirname(__DIR__) . '/config/paths.php';

require
ROOT . DS . 'config' . DS . 'bootstrap.php';

use
App\Application;
use
Cake\Http\Server;

$server = new Server(new Application(CONFIG));
$server->emit($server->run());