Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 689 Bytes

File metadata and controls

36 lines (24 loc) · 689 Bytes

LightPHP

LightPHP is a light PHP micro framework that helps you quickly write simple yet powerful APIs

Installation

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.

Usage

Create an index.php file with the following contents:

<?php

use LightPHP\API;

include '../vendor/autoload.php';

$app = new Api();

$app->run();

Tests

To execute the test suite, you'll need phpunit.

$ phpunit

Learn More

Documentation