16/02
2015
Wallogit.com
2017 © Pedro Peláez
InstaPush for Laravel gives Immediate Notifications for the transactions you care about in your Laravel PHP applications., (*1)
Install the abbasadel/instapush-laravel package, (*2)
$ composer require "abbasadel/instapush-laravel:dev-master"
Update app/config/app.php to configure your Instapush Account, (*3)
# Add `InstapushServiceProvider` to the `providers` array
'providers' => array(
...
'Pushbots\Instapush\InstapushServiceProvider',
)
# Add the `Insta` Facade to the `aliases` array
'aliases' => array(
...
'Insta' => 'Pushbots\Instapush\Facades\Insta',
)
Generate a template Instapush config file, (*4)
$ php artisan config:publish abbasadel/instapush-laravel
Update app/config/packages/abbasadel/instapush-laravel/config.php with your
Instapush appID and appSecret key:, (*5)
return array(
'appId' => 'APP_ID',
'appSecret' => 'APP_SECRET',
);
```php
Insta::Push("EventName", ['tacker1'=>'value1', 'tacker2'=>'value2']);
```
Please report any bugs or feature requests on the github issues page for this project here:, (*6)
https://github.com/abbasadel/instapush-laravel/issues, (*7)
The InstaPush Laravel is free software released under the GPLv2 License. See LICENSE.txt for details., (*8)