2017 © Pedro Peláez
 

library alipush

The Hht alipush package.

image

haiaouang/alipush

The Hht alipush package.

  • Monday, March 19, 2018
  • by haiaouang
  • Repository
  • 1 Watchers
  • 0 Stars
  • 48 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 26 % Grown

The README.md

alipush

Latest Stable Version License, (*1)

laravel阿里推送包, (*2)

安装

在你的终端运行以下命令, (*3)

composer require haiaouang/alipush, (*4)

或者在composer.json中添加, (*5)

"haiaouang/alipush": "1.0.*", (*6)

然后在你的终端运行以下命令, (*7)

composer update, (*8)

安装依赖包 haiaouang/support, (*9)

安装依赖包 haiaouang/pusher, (*10)

设置推送信息的参数 config/pushers.php, (*11)

调用

修改config/pushers.php对应的配置, (*12)

<?php

return [
    'launchers' => [
        'alipush' => [
            'driver' => 'alipush',

            'url' => '',

            'action' => '',

            'format' => '',

            'version' => '',

            'region_id' => '',

            'access_key' => '',

            'access_key_secret' => '',

            'android' => [
                //包名
                'bundle_id' => '',
                //app id
                'app_id' => '',
                //app key
                'app_key' => '',
                //app secret
                'app_secret' => ''
            ],

            'ios' => [
                //包名
                'bundle_id' => '',
                //app id
                'app_id' => '',
                //app key
                'app_key' => '',
                //app secret
                'app_secret' => ''
            ],

            //前缀
            'prefix' => env('PUSH_PREFIX' , 'test_')
        ]
    ],
];

依赖包

  • haiaouang/support : https://github.com/haiaouang/support
  • haiaouang/pusher : https://github.com/haiaouang/pusher

The Versions

19/03 2018

dev-master

9999999-dev https://github.com/haiaouang/alipush

The Hht alipush package.

  Sources   Download

MIT

The Requires

 

by haitaohuang

19/03 2018

1.0.4

1.0.4.0 https://github.com/haiaouang/alipush

The Hht alipush package.

  Sources   Download

MIT

The Requires

 

by haitaohuang

17/11 2017

1.0.3

1.0.3.0 https://github.com/haiaouang/alipush

The Hht alipush package.

  Sources   Download

MIT

The Requires

 

by haitaohuang

17/11 2017

1.0.2

1.0.2.0 https://github.com/haiaouang/alipush

The Hht alipush package.

  Sources   Download

MIT

The Requires

 

by haitaohuang

16/11 2017

1.0.1

1.0.1.0 https://github.com/haiaouang/alipush

The Hht alipush package.

  Sources   Download

MIT

The Requires

 

by haitaohuang