PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Chun-Sheng, Li   Light Controller   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Light Controller
Trigger event in IFFTT using a Webhook
Author: By
Last change:
Date: 1 year ago
Size: 311 bytes
 

Contents

Class file image Download

Installation

composer require lee/light-controller

Usage

require_once './vendor/autoload.php';

use lee\Light;

$light = new Light('event_name', 'ifttt-webhook-maker-service-key');
$light->sendRequest(); // GuzzleHttp\Psr7\Response;

References

  • https://ifttt.com/maker_webhooks