binsoul/net-hal-client

Client for the JSON Hypertext Application Language

Maintainers

πŸ‘ binsoul

Package info

github.com/binsoul/net-hal-client

pkg:composer/binsoul/net-hal-client

Statistics

Installs: 1 423

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 1

0.2.0 2021-04-15 16:40 UTC

MIT 0fc7b441230def9a855f369b5887291833d8715a

clientnethal

This package is auto-updated.

Last update: 2026-06-18 12:57:13 UTC


README

πŸ‘ Latest Version on Packagist
πŸ‘ Software License
πŸ‘ Total Downloads
πŸ‘ Build Status

Hypertext Application Language (HAL) is an Internet Draft standard convention for defining hypermedia such as links to external resources within JSON or XML.

This package provides a client to work with HAL+JSON endpoints. It requires a PSR-18 compatible client to send HTTP requests.

Install

Via composer:

$ composer require binsoul/net-hal-client

This package requires PSR-17 compatible request/URI factories and a PSR-18 compatible HTTP client. If no factories are supplied, it uses PHP-HTTP discovery to find installed implementations.

For example if you want to use Guzzle as HTTP client execute:

$ composer require http-interop/http-factory-guzzle php-http/guzzle7-adapter

Testing

$ composer test

License

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