abbasadel / instapush-laravel by abbasadel

21
0
2
Package Data
Maintainer Username: abbasadel
Maintainer Contact: abbas.adel.ibrahim@gmail.com (Abbas Adel)
Package Create Date: 2014-01-17
Package Last Update: 2015-02-16
Language: PHP
License: Unknown
Last Refreshed: 2024-11-24 15:01:18
Package Statistics
Total Downloads: 21
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 1
Total Open Issues: 0

InstaPush Wrapper for Laravel

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.