承接 phputil/flags-webhooks 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

phputil/flags-webhooks

最新稳定版本:v0.1.2

Composer 安装命令:

composer require phputil/flags-webhooks

包简介

Webhooks for the phputil/flags framework

README 文档

README

Version Build License PHP

Web hooks for the phputil/flags framework.

Installation

PHP 7.4 or later. It uses Guzzle for making HTTP requests.

composer require phputil/flags-webhooks

Usage

require_once 'vendor/autoload.php';

use \phputil\flags\webhooks\WebhookListener;

$listener = new WebhookListener( 'https://example.com' );

// Now let's use it with the framework
$flags = new \phputil\flags\FlagManager();
$flags->getListeners()->add( $listener );

// Notifying
$flags->enable( 'foo' ); // POST request (creation)
$flags->disable( 'foo' ); // PUT request (update)
$flags->remove( 'foo' ); // DELETE request (removal)

Documentation

Soon

License

MIT © Thiago Delgado Pinto

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-15