JSend is a simple library to ease creation of JSend compliant HTTP response.
- Simple API
- Immutable Value Object
- Fully documented
- Fully Unit tested
- Framework-agnostic
- Composer ready, PSR-2 and PSR-4 compliant
You need PHP >= 5.5.0 to use JSend
but the latest stable version of PHP/HHVM is recommended.
Install JSend
using Composer.
$ composer require carpediem/jsend
Full documentation can be found at carpediem.github.io/JSend. Contribute to this documentation in the gh-pages branch
JSend
has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer. To run the tests, run the following command from the project folder.
$ composer test
Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see LICENSE for more information.