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 All time: 11,018 This week: 455Up
Version License PHP version Categories
light-controller 1.0MIT/X Consortium ...5PHP 5, Web services


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: 29 packages by
Country: Taiwan Taiwan
Age: 30
All time rank: 22066 in Taiwan Taiwan
Week rank: 17 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 14x

Winner: 1x



composer require lee/light-controller


require_once './vendor/autoload.php';

use lee\Light;

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



  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 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  
This week:0
All time:11,018
This week:455Up