Skip to content

Maxeee09/laravel-ifttt-maker

Repository files navigation

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.

About

Laravel IFTTT Maker Event Emitter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages