#Phalcon REST# Note: This project is under development. Develop branch stable for use.
![Phalcon REST Library](http://phalconist.com/olivierandriessen/phalcon-rest/default.svg)A flexible library, consisting of interchangeable classes made for the modern REST API.
- Complex/flexible JSON formatting (Fractal, Build API's You Won't Hate)
- Google authentication (optional)
- Username authentication (optional)
- Authentication sessions (JWT)
- Access control on endpoints (Phalcon ACL)
- Documentation generator (Phalcon Annotation Reader)
- Postman REST Client Collection Export generator
Install using Composer. Not all dependencies are required.
{
"require": {
"olivierandriessen/phalcon-rest": "dev-develop",
"league/fractal": "0.12.0",
"firebase/php-jwt": "2.0.0",
"phpmailer/phpmailer": "5.2.9",
"google/apiclient": "1.1.2",
}
}
For a full implementation of the library, check out the Boilerplate application.
Go to the documentation for detailed instructions on how to configure each class.
Please file issues under GitHub, or submit a pull request if you'd like to directly contribute.
###Todo###
Convert indentation to spaces- DocBlocks
- PSR-2 coding standard