Venditan, The E-Commerce & Retail Experts
We're Recruiting, PHP Specialists, Enquire Here

HTTP JSON API OK?

Come in and take a look inside the venditan hq!

We're recruiting php people, interested?

Show Me More

HTTP JSON API OK?

Posted 23/02/2014 by Tom Walder

Fast & Easy


We're building more and more APIs - some for us, some for our clients, and some we share!

So, here's the simple library we've built for building fast HTTP JSON APIs in PHP.

Because it's an API, you can be fairly strict with routing - by default the library supports '/controller/action' routing, but you can replace the router at runtime if you like.

Bootstrap file is trivial

<?php
require_once('vendor/autoload.php');
$api = new \Docnet\JAPI();
$api->run();

 

Open Source & on Github


Check out the project on Github: https://github.com/DocnetUK/php-japi.

And, if you want to install with Composer:

"require": {
   "docnet/php-japi": "dev-master"
}
Back To Posts