定制 dropfan/onesignal-server-api 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

dropfan/onesignal-server-api

最新稳定版本:0.2.1

Composer 安装命令:

composer require dropfan/onesignal-server-api

包简介

OneSignal server API for PHP, you can push notifications to any platform. (iOS/APNS, Android/GCM/FCM, WP, Web/Chrome/Safari...etc.) No third-party dependency that you can use this library in any project or framework.

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock StyleCI

OneSignal server API for PHP, you can push notifications to any platform. (iOS/APNS, Android/GCM/FCM, WP, Web/Chrome/Safari...etc.)

No third-party dependency that you can use this library in any project or framework.

There are several packages for OneSignal, but some rely on third-party library or certain framework components. That's reason of this project.

Requirements:

You'll need at least PHP 5.6.

Installation:

install via composer:

composer require dropfan/onesignal-server-api

Of course you can clone this project manually then move it into your projects.

git clone https://github.com/DropFan/onesignal-server-api.git

But for simple use,pass parameters by array rather than Object/Class (like ORM), you can move OneSignal.php into your projects only.

Surely, the ORM-style have not been finish. I will finish it later when I have enough time。

Usage:

There are some samples in examples dir.

https://github.com/DropFan/onesignal-server-api/tree/master/examples

You can follow the offical ducumention from OneSignal.

OneSignal API Documention

Contacts:

Author: Tiger(DropFan)

Email: DropFan@Gmail.com

Wechat: DropFan

Telegram: DropFan

https://about.me/DropFan

LICENSE:

MIT License

TODO:

I will complete follow list when I have enough time.

  • OneSignal API wrapper (80%) // not fully test
    • Notifications (100%)
      • create
      • view
      • update
    • Devices (100%)
      • add
      • edit
      • view
    • Apps (100%)
      • create
      • view
      • update
    • Other API (100%)
      • on_session
      • on_purchase
      • on_focus
      • csv_export
      • track open
    • request (via curl) (100%)
    • request (via fsock) (0%) // for non-blocking request
  • Models (50%) // just finish fields and body params, no ORM-style operation)
    • BaseModel
    • Notification
    • Device
    • App
  • ORM-style (1%)
  • PSR-2、PSR-4 (100%)
  • Documents & Comments (about 60%~80%?)
  • PHPUnit (0%)
  • submit to packagist (100%)
  • release 1.0 (coming soon...)
  • release 2.0 // will support ORM operation

统计信息

  • 总下载量: 9.26k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-12-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固