PHPackages                             randomstate/api - 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. randomstate/api

ActiveLibrary[API Development](/categories/api)

randomstate/api
===============

A flexible API package for PHP.

v0.5.0(4y ago)01.9k↓100%1MITPHP

Since Sep 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/randomstate/api)[ Packagist](https://packagist.org/packages/randomstate/api)[ RSS](/packages/randomstate-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (18)Used By (1)

randomstate/api
===============

[](#randomstateapi)

A flexible API package for PHP. Fits perfectly with Laravel and Laravel Doctrine. This is a barebones package that is agnostic to any given PHP application or framework. As a result, there is a lot of legwork to wire up the different components to get started.

**Please see randomstate/laravel-api for an out-of-the-box integration with Laravel that does this all for you.**

Installation
============

[](#installation)

`composer require randomstate/api`

Basic Usage
===========

[](#basic-usage)

Input Transformation
--------------------

[](#input-transformation)

```
