binsoul/net-hal-client
最新稳定版本:0.2.0
Composer 安装命令:
composer require binsoul/net-hal-client
包简介
Client for the JSON Hypertext Application Language
README 文档
README
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.
统计信息
- 总下载量: 1.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 6
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-10