PHP Classes

Light Controller: Trigger event in IFFTT using a Webhook

Recommend this page to a friend!
  Info   View files Documentation   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 32 This week: 1All time: 10,989 This week: 560Up
Version License PHP version Categories
light-controller 1.0MIT/X Consortium ...5PHP 5, Web services
Description 

Author

This class can trigger event in IFFTT using a Webhook.

It can send a HTTP request to the IFFTT Web server to call a given Webhook.

The class can take as parameters a service key, a event name and an array with parameters to be passed to IFFTT in JSON format.

Picture of Chun-Sheng, Li
  Performance   Level  
Name: Chun-Sheng, Li <contact>
Classes: 27 packages by
Country: Taiwan Taiwan
Age: 30
All time rank: 22646 in Taiwan Taiwan
Week rank: 416 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 13x

Winner: 1x

Documentation

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

  Files folder image Files  
File Role Description
Files folder imagesrc (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  src  
File Role Description
  Plain text file Light.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:32
This week:1
All time:10,989
This week:560Up