Emit IFTTT events easily.
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,
...
],
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]
...
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 !
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING and CONDUCT for details.
The MIT License (MIT). Please see License File for more information.