PHP Classes

File: web/index.php

Recommend this page to a friend!
  Classes of Sergii Pryz   PHP Location Based Search API   web/index.php   Download  
File: web/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Location Based Search API
API server for searching places near a location
Author: By
Last change:
Date: 7 years ago
Size: 172 bytes
 

Contents

Class file image Download
<?php
require_once __DIR__ . '/../vendor/autoload.php';
$app = require __DIR__ . '/../src/app.php';

$app['debug'] = (bool) getenv('PLACE_SEARCH_API_DEBUG');

$app->run();