PHPackages                             anroots/kohana-hapi - 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. anroots/kohana-hapi

AbandonedArchivedKohana-module[API Development](/categories/api)

anroots/kohana-hapi
===================

HTTP API module for Kohana 3.3

4216PHP

Since Mar 4Pushed 13y ago3 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Kohana HAPI
===========

[](#kohana-hapi)

**H**yperMedia **A**pplication **P**rogramming **I**nterface - A Kohana module to use as a framework for building HTTP APIs.

[![Screenshot of a HTTP response](https://camo.githubusercontent.com/b510811fac21def9122a23f85d5e662444dbb724e0312aa8538a47095fe6efd6/68747470733a2f2f7261772e6769746875622e636f6d2f616e726f6f74732f6b6f68616e612d686170692f6d61737465722f67756964652f53637265656e73686f742d312e706e67)](https://camo.githubusercontent.com/b510811fac21def9122a23f85d5e662444dbb724e0312aa8538a47095fe6efd6/68747470733a2f2f7261772e6769746875622e636f6d2f616e726f6f74732f6b6f68616e612d686170692f6d61737465722f67756964652f53637265656e73686f742d312e706e67)

**In development. Do not use.** It is expected that the major (backwards incompatible) versions will be increased rapidly.

What it is
----------

[](#what-it-is)

- Framework for adding API support to your Kohana project
- Unfinished
- Rather strict than general-purpose

What it is not
--------------

[](#what-it-is-not)

- RESTful - Well, a bit, but missing \[level three of the API maturity model\](.com/writing/speaking/2008-QCon/act3.html)
- Scalable and optimized - mean for one server, one client approach where client is under vendor control
- Tested

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

[](#installation)

- Clone and enable the module. Use a git submodule, download the zip or add a Composer dependency
- Add a route to the API controller:

```
