2017 © Pedro PelĆ”ez
 

library 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.

image

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.

  • Thursday, February 9, 2017
  • by DropFan
  • Repository
  • 3 Watchers
  • 12 Stars
  • 1,453 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 1 Open issues
  • 5 Versions
  • 26 % Grown

The README.md

OneSignal-server-API

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock StyleCI, (*1)

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

No third-party dependency that you can use this library in any project or framework., (*3)

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

Requirements:

You'll need at least PHP 5.6., (*5)

Installation:

install via composer:, (*6)

composer require dropfan/onesignal-server-api, (*7)

Of course you can clone this project manually then move it into your projects., (*8)

git clone https://github.com/DropFan/onesignal-server-api.git, (*9)

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

Surely, the ORM-style have not been finish. I will finish it later when I have enough time怂, (*11)

Usage:

There are some samples in examples dir., (*12)

https://github.com/DropFan/onesignal-server-api/tree/master/examples, (*13)

You can follow the offical ducumention from OneSignal., (*14)

OneSignal API Documention, (*15)

Contacts:

Author: Tiger(DropFan), (*16)

Email: DropFan@Gmail.com, (*17)

Wechat: DropFan, (*18)

Telegram: DropFan, (*19)

https://about.me/DropFan, (*20)

LICENSE:

MIT License, (*21)

TODO:

I will complete follow list when I have enough time., (*22)

  • 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

The Versions

09/02 2017

dev-master

9999999-dev https://github.com/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.

  Sources   Download

MIT

The Requires

  • php >=5.6.0|7.0

 

by Avatar DropFan

api notification push onesignal webpush push notification onesignal api onesignal server

03/01 2017

dev-dev

dev-dev https://github.com/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.

  Sources   Download

MIT

The Requires

  • php >=5.6.0|7.0

 

by Avatar DropFan

api notification push onesignal webpush push notification onesignal api onesignal server

29/12 2016

0.2.1

0.2.1.0 https://github.com/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.

  Sources   Download

MIT

The Requires

  • php >=5.6.0|7.0

 

by Avatar DropFan

api notification push onesignal webpush push notification onesignal api onesignal server

29/12 2016

0.2

0.2.0.0 https://github.com/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.

  Sources   Download

MIT

The Requires

  • php >=5.6.0|7.0

 

by Avatar DropFan

api notification push onesignal webpush push notification onesignal api onesignal server

29/12 2016

0.1.1

0.1.1.0 https://github.com/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.

  Sources   Download

MIT

The Requires

  • php >=5.6.0|7.0

 

by Avatar DropFan

api notification push onesignal webpush push notification onesignal api onesignal server