cypresslab/patch-manager 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cypresslab/patch-manager

最新稳定版本:5.0.0

Composer 安装命令:

composer require cypresslab/patch-manager

包简介

A library to manage patch requests

README 文档

README

PHP Version Scrutinizer Code Quality Code Coverage Build Status Packagist Version Packagist Downloads

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-fixer
  • composer analyse: runs phpstan for static analysis
  • composer test: runs phpunit

统计信息

  • 总下载量: 105.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 6
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: LGPL-3.0-or-later
  • 更新时间: 2014-12-04