⚠️ To ensure full functionality, the above dependencies might be required.
Package Description
HATEOAS (Hypermedia as the Engine of Application State) library for PHP that simplifies the development of RESTful APIs by supporting hypermedia links and resource representations. It enables clients to navigate a REST application through hypermedia links dynamically. This library helps in building flexible and scalable APIs that follow the HATEOAS principle, enhancing API discoverability and reducing client-server coupling.
Make sure to include the correct namespace and class paths for proper usage.
<?php
// Example from PHPlibraries.com
require_once 'libs/willdurand/hateoas/3.12.0/loader.php';
require_once 'libs/php-fig/link/2.0.1/loader.php';
use WillDurand\Hateoas\Link;
use WillDurand\Hateoas\Resource;
$obj = new Link();
echo '✅ Test OK: ' . get_class($obj);
?>
We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.
Community Discussion
Ask questions, share tips, or report issues below.