A PHP library to support implementing representations for HATEOAS REST web services.
Important: This library is under heavy refactoring. If you are using it, you
will find the code in the 1.0
branch. The master
branch is a work in
progress, and should not be used in production at the moment.
Not yet available as the library is currently under heavy refactoring.
For those who use the 1.0
version, you can jump to this documentation
page though.
Using Composer, require the willdurand/hateoas
package:
{
"require": {
"willdurand/hateoas": "2.0.*@dev"
}
}
Otherwise, install the library and setup the autoloader yourself.
See CONTRIBUTING file.
Install the Composer dev
dependencies:
php composer.phar install --dev
Then, run the test suite using atoum:
bin/atoum
Hateoas is released under the MIT License. See the bundled LICENSE file for details.