Skip to content

Latest commit

 

History

History
74 lines (50 loc) · 2.46 KB

README.md

File metadata and controls

74 lines (50 loc) · 2.46 KB

JSend

Latest Version Software License Build Status HHVM Status Coverage Status Quality Score Total Downloads

JSend is a simple library to ease creation of JSend compliant HTTP response.

Highlights

  • Simple API
  • Immutable Value Object
  • Fully documented
  • Fully Unit tested
  • Framework-agnostic
  • Composer ready, PSR-2 and PSR-4 compliant

System Requirements

You need PHP >= 5.5.0 to use JSend but the latest stable version of PHP/HHVM is recommended.

Install

Install JSend using Composer.

$ composer require carpediem/jsend

Documentation

Full documentation can be found at carpediem.github.io/JSend. Contribute to this documentation in the gh-pages branch

Testing

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

Contributing

Contributions are welcome and will be fully credited. Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see LICENSE for more information.