cypresslab/patch-manager
最新稳定版本:5.0.0
Composer 安装命令:
composer require cypresslab/patch-manager
包简介
A library to manage patch requests
README 文档
README
A php library to manage PATCH requests in a standardized (and elegant) way
Be careful!!!
From version 0.3 namespace will change from PatchManager\... to Cypress\PatchManager\...
Install
Install with composer
composer require cypresslab/patch-manager
The idea for this library comes from this blog post: Please. Don't Patch Like An Idiot. by William Durand
It lets you patch resources in an expressive way
PATCH /users/1
{ "op": "data", "property": "username", "value": "new username" }
And let you patch entire collections with multiple operations
PATCH /books
[{ "op": "set_as_read" }, { "op": "return_to_library", "address": "221 B Baker St, London, England"}]
it includes also a Symfony bundle
Still interested? Head over to the wiki... for documentation
Useful commands for development
composer format: runs php-cs-fixercomposer analyse: runs phpstan for static analysiscomposer test: runs phpunit
统计信息
- 总下载量: 105.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2014-12-04