easybib/silex-hal-provider
最新稳定版本:1.0.0
Composer 安装命令:
composer require easybib/silex-hal-provider
包简介
Silex provider for the nocarrier/hal library
README 文档
README
Adds a HAL builder object to the silex container which returns instances of HAL objects from the nocarrier/hal library.
Background on HAL:
- http://en.wikipedia.org/wiki/Hypertext_Application_Language
- http://stateless.co/hal_specification.html
Usage
$app->register(new EasyBib\Silex\Provider\HALServiceProvider());
$hal = $app['hal']->build('/orders', ['customerId' => 'CUS1234']);
See the (Nocarrier\Hal documentation)[https://github.com/blongden/hal/blob/develop/README.md] for more examples of how to use the HAL library itself.
统计信息
- 总下载量: 2.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2014-12-23