abbasadel/instapush-laravel
InstaPush Wrapper for Laravel
InstaPush for Laravel gives Immediate Notifications for the transactions you care about in your Laravel PHP applications.
How to Install
-
Install the
abbasadel/instapush-laravelpackage$ composer require "abbasadel/instapush-laravel:dev-master" -
Update
app/config/app.phpto configure your Instapush Account# 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', )
Configuration
-
Generate a template Instapush config file
$ php artisan config:publish abbasadel/instapush-laravel -
Update
app/config/packages/abbasadel/instapush-laravel/config.phpwith your Instapush appID and appSecret key:return array( 'appId' => 'APP_ID', 'appSecret' => 'APP_SECRET', );
Usage
```php
Insta::Push("EventName", ['tacker1'=>'value1', 'tacker2'=>'value2']);
```
Reporting Bugs or Feature Requests
Please report any bugs or feature requests on the github issues page for this project here:
https://github.com/abbasadel/instapush-laravel/issues
License
The InstaPush Laravel is free software released under the GPLv2 License. See LICENSE.txt for details.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.