Download .zip |
Info | Example | View files (24) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-12-03 (1 month ago) | Not yet rated by the users | Total: Not yet counted | Not yet ranked |
Version | License | PHP version | Categories | |||
php-api-kit 1.0 | MIT/X Consortium ... | 5 | PHP 5, Libraries, Web services |
Description | Author | |||||||||||||
This package is a MVC framework to implement REST APIs. |
|
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.
/ (root)
| 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.
Files |
File | Role | Description | ||
---|---|---|---|---|
assets (1 file) | ||||
config (3 files) | ||||
controllers (2 files) | ||||
models (2 files) | ||||
seed (6 files, 1 directory) | ||||
.editorconfig | Data | Auxiliary data | ||
.htaccess | Data | Auxiliary data | ||
index.php | Example | Example script | ||
LICENSE | Lic. | License text | ||
readme.md | Doc. | Documentation |
Files | / | config |
File | Role | Description |
---|---|---|
index.html | Data | Auxiliary data |
routes.php | Conf. | Configuration script |
settings.php | Conf. | Configuration script |
Files | / | controllers |
File | Role | Description |
---|---|---|
index.html | Data | Auxiliary data |
index.php | Class | Class source |
Files | / | seed |
File | Role | Description | ||
---|---|---|---|---|
libraries (5 files) | ||||
controller.php | Class | Class source | ||
index.html | Data | Auxiliary data | ||
loader.php | Aux. | Auxiliary script | ||
model.php | Class | Class source | ||
nucleos.php | Class | Class source | ||
router.php | Class | Class source |
Files | / | seed | / | libraries |
File | Role | Description |
---|---|---|
http.php | Class | Class source |
index.html | Data | Auxiliary data |
logger.php | Class | Class source |
rcurl.php | Class | Class source |
rmysql.php | Class | Class source |
Version Control | Unique User Downloads | |||||||
100% |
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.