PHPackages                             monomelodies/monki - 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. monomelodies/monki

ActiveLibrary[API Development](/categories/api)

monomelodies/monki
==================

PHP5 API generation utilities

1.2.4(1y ago)04712MITPHPPHP &gt;=7.1

Since Jun 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/monomelodies/monki)[ Packagist](https://packagist.org/packages/monomelodies/monki)[ RSS](/packages/monomelodies-monki/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (7)Versions (47)Used By (2)

Monki
=====

[](#monki)

Simple API bootstrapper.

Monki is a library that allows you to quickly add a basic API to your project. Providing an API is becoming more and more important for several reasons:

- It allows your library or project to easily become part of the "internet of things" by allowing other libraries or apps to access it;
- For SPAs using e.g. AngularJS offering an API is a must;
- Even when writing traditional PHP apps, using an API can abstract away much of the workings of a database for instance.

Installation
------------

[](#installation)

### Composer (recommended)

[](#composer-recommended)

```
$ cd /path/to/project
$ composer require monomelodies/monki
```

### Manual

[](#manual)

Download or clone the repo, and add `/path/to/monki/src` to your PSR-4 autoloader for the `Monki\\` namespace.

Setting up
----------

[](#setting-up)

Monki implements a *pipeline* using [league/pipeline](https://packagist.org/packages/league/pipeline):

```
