PHPackages                             thazh/api-light - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. thazh/api-light

ActiveLibrary[API Development](/categories/api)

thazh/api-light
===============

A lightweight library is used to build a secure REST API in PHP.

1.0.0(2y ago)07MITPHP

Since May 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thazh/api-light)[ Packagist](https://packagist.org/packages/thazh/api-light)[ Docs](https://github.com/thazh/api-light)[ RSS](/packages/thazh-api-light/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

ApiLight
========

[](#apilight)

A lightweight library is used to build a secure REST API in PHP.

Features
--------

[](#features)

The main features provided by this library are:

- Easy to use
- Support all the PHP versions
- Required field validation
- Basic authentication
- Support multiple content types
- Support all the request methods

Quick Start
-----------

[](#quick-start)

Install the library using [composer](https://getcomposer.org):

```
composer require thazh/api-light

```

A sample PHP API to validate and process the input data and print the response data

```
