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    
Last Updated Ratings Unique User Downloads Download Rankings
2022-09-16 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 30 All time: 10,633 This week: 137Up
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: 14 packages by
Country: Taiwan Taiwan
Age: 29
All time rank: 29617 in Taiwan Taiwan
Week rank: 27 Up1 in Taiwan Taiwan Up
Innovation award
Innovation award
Nominee: 7x

Winner: 1x

Details

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:30
This week:0
All time:10,633
This week:137Up