-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ratnadeep Deb edited this page Dec 10, 2016
·
5 revisions
LightPHP is a light PHP micro framework that helps you quickly write simple yet powerful APIs
It's recommended that you use Composer to install LightPHP.
$ composer require ratnadeep/LightPHP "*"This will install LightPHP and all required dependencies. LightPHP requires PHP 7.0.0 or newer.
Create an index.php file with the following contents:
<?php
use LightPHP\API;
include '../vendor/autoload.php';
$app = new Api();
$app->run();To execute the test suite, you'll need phpunit.
$ phpunit