contextmapp/laravel-pushwoosh 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

contextmapp/laravel-pushwoosh

Composer 安装命令:

composer require contextmapp/laravel-pushwoosh

包简介

Laravel package for integrating Pushwoosh

README 文档

README

A simple wrapper around Gomoob's php-pushwoosh package for integration with the Laravel framework.

Build Status Coverage Status Version License

Installation

Use Composer to pull this package in as a dependency.

composer require contextmapp/laravel-pushwoosh

If you are using Laravel 5.4 or lower, or if you have disabled package discovery, add the provider to the providers array in config/app.php:

Contextmapp\Pushwoosh\PushwooshServiceProvider::class

If you want to use the Pushwoosh facade, you should also add the correct alias to the aliases array:

'Pushwoosh' => Contextmapp\Pushwoosh\Facades\Pushwoosh::class

Configuration

You should publish the configuration file that is supplied with this package to set up your Pushwoosh details.

php artisan vendor:publish --provider=Contextmapp\Pushwoosh\PushwooshServiceProvider

This command copies the configuration file to config/pushwoosh.php.

Make sure you set up the api_token and application_id of the default application.

Usage

You can use the wrapper to interact with the Pushwoosh SDK directly, or, you could add support for Pushwoosh to your Laravel notifications.

Laravel Notifications

If you are using Laravel's notification system, you can add 'pushwoosh' to the via() response of a notification. The channel name is also available as a class constant on the Contextmapp\Pushwoosh\PushwooshChannel class. The notification class is expected to implement the Contextmapp\Pushwoosh\Contracts\PushwooshNotification contract. Your notifiable classes should implement the Contextmapp\Pushwoosh\Contracts\PushwooshNotifiable contract.

统计信息

  • 总下载量: 188
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-09-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固