mattzuba/php-ifttt-xmlrpc 问题修复 & 功能扩展

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

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

mattzuba/php-ifttt-xmlrpc

最新稳定版本:v1.0.0

Composer 安装命令:

composer require mattzuba/php-ifttt-xmlrpc

包简介

Creates a fake Wordpress XMLRPC Server for use with IFTTT to do anything you want.

README 文档

README

This IFTTT webhook is a bit different than some of the other ones available. This is a generic abstract class that is meant to be extended to provide the functionality you want. You're not pidgeon-holed into calling another API, you can do all of the work right here.

This class works by taking advantage of the IFTTT Wordpress channel. That channel operates over the XML-RPC protocol, so we simply fool IFTTT into thinking that our custom XML-RPC server is a Wordpress install and then we can send whatever data we like to it.

See the examples folder for a JSONPost class that takes the data received from IFTTT and turns around and calls 1 or more JSON API's.

You can use this project in one of two ways

If you are integrating it into an existing project, simply require it in your composer.json file and then extend the Webhook\Server and implement the webhook method.

composer require mattzuba/php-ifttt-xmlrpc

If you are making a standalone project, you can use the composer create-project function to more-or-less clone this repo down and build on top of it.

composer create-project mattzuba/php-ifttt-xmlrpc /your/path/to/project

© 2015 Matt Zuba

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MPL-2.0-no-copyleft-exception
  • 更新时间: 2015-05-07