|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 379 ||All time: 6,710 This week: 284|
This package is a MVC framework to implement REST APIs.
It provides a base controller, a base model and a router to process REST API requests and dispatch them to controller classes that handle the configured requests.
The API end points mappings to controller classes are defined in configuration scripts.
The API responses are outputted in JSON format.
PHP API KIT
Is a library kit, aka framework, that helps you to implement a RESTful API using PHP.
It's a simple and very lightweight framework, with a really small footprint,
specially designed for APIs development and absolutelly not for MVC applications.
Of course its source code architecure has some similarities to MVC frameworks, but
instead of using views for output, its outputs are string JSON encoded.
In the case you wanna something for MVC applications
give a try on Codeigniter or Zend Framework.
Clone this repository or download this project. Once you have the source files, you can
start working on it. It's documentation and help pages are not ready (yet), but
simply by looking at the source code you will be able to understand it.
| assets/ # for eventual assets
| config/ # where all config files are placed
| controllers/ # where your api controllers should be
| models/ # where data models should be placed
| seed/ # here are the FW core
| ----/ libraries/
| .htaccess # it uses mod_rewrite from Apache
| index.php # where everything starts ...
The framework, as well as this readme file, is on constant evolution.
If you find something wrong, or need some support, feel free to open an issue
on github ( here ).
Feel free to contribute or request! Send me your pull requests.
I'm gonna reply as soon as possible.
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.