abbasadel/instapush-laravel

There is no license information available for the latest version (dev-master) of this package.

dev-master 2015-02-16 09:54 UTC

This package is not auto-updated.

Last update: 2024-03-26 04:03:59 UTC


README

InstaPush for Laravel gives Immediate Notifications for the transactions you care about in your Laravel PHP applications.

How to Install

  1. Install the abbasadel/instapush-laravel package

    $ composer require "abbasadel/instapush-laravel:dev-master"
  2. Update app/config/app.php to 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

  1. Generate a template Instapush config file

    $ php artisan config:publish abbasadel/instapush-laravel
  2. Update app/config/packages/abbasadel/instapush-laravel/config.php with 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.