myqaa/notification-pusher

Standalone PHP library for easy devices notifications push.

Fund package maintenance!
paypal.me/ph3nol

Installs: 5 469

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 274

Type:standalone

v2.4.0 2020-04-06 14:35 UTC

README

Standalone PHP library for easy devices message notifications push.

Feel free to contribute! Thanks.

Contributors

Installation

composer require sly/notification-pusher

This repository uses PSR-0 autoload. After installation with composer please adjust you autoloading config if needed or include vendor/autoload.php in your index.php.

Requirements

  • PHP 5.6+
  • PHP Curl and OpenSSL modules
  • Specific adapters requirements (like APNS certificate, GCM (FCM) API key, etc.)

WARNING Version v3.0 would support only php 7.0+. Please, update your composer config if needed.

Today available adapters

  • APNS (Apple)
  • GCM (Android) and FCM (Android)

Documentation and examples

Todo

  • Add new features (custom APNS payloads, GCM and FCM custom options, etc.)
  • Add new adapters (like Blackberry and Windows phones)
  • Write more documentation and examples!
  • Write more tests. (contributions are welcome!)

1.x users

Old version is still available from 1.x branch, with dedicated declared tag.