maxeee09 / laravel-ifttt-maker
There is no license information available for the latest version (v1.0.0) of this package.
Laravel IFTTT Maker event emitter
v1.0.0
2016-10-27 13:29 UTC
Requires
- php: >=7.0
- guzzlehttp/guzzle: ~6.0
- illuminate/contracts: 5.1.*|5.2.*|5.3.*
- illuminate/support: 5.1.*|5.2.*|5.3.*
Requires (Dev)
- phpunit/phpunit: 5.*
This package is auto-updated.
Last update: 2024-10-29 00:41:56 UTC
README
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.