Maxeee09 / laravel-ifttt-maker by Maxeee09

Laravel IFTTT Maker event emitter
28
6
2
Package Data
Maintainer Username: Maxeee09
Maintainer Contact: maxence@carvinglabs.com (Maxence BOURQUIN)
Package Create Date: 2016-10-27
Package Last Update: 2018-05-31
Language: PHP
License: Unknown
Last Refreshed: 2024-11-23 03:18:19
Package Statistics
Total Downloads: 28
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 6
Total Watchers: 2
Total Forks: 6
Total Open Issues: 1

Laravel IFTTT Maker event emitter

Emit IFTTT events easily.

Install

Via Composer :

$ composer require maxeee09/laravel-ifttt-maker

then add the following line into config/app.php provider array :

'providers' => [
		...
		Maxeee09\IFTTT\Maker\Providers\IFTTTMakerServiceProvider::class,
		...
],

Configuration

Publish package configuration :

$ php artisan vendor:publish --provider="Maxeee09\IFTTT\Maker\Providers\IFTTTMakerServiceProvider" --tag="config"

Add the following line into your .env file :

...
IFTTT_MAKER_KEY=[YOUR_IFTTT_MAKER_KEY]
...

Usage

Using façade :

IFTTTMaker::event( 'your_event_name' , [
	'your' => 'data' ,
	'event' => 'data' ,
	'payload' => 'data' ,
] ) ;

Using helper :

ifttt_maker( 'your_event_name' , [
	'your' => 'data' ,
	'event' => 'data' ,
	'payload' => 'data' ,
] ) ;

Enjoy your IFTTT recipes !

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Author

License

The MIT License (MIT). Please see License File for more information.