Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ph3nol/NotificationPusher
Standalone PHP library for easy devices notifications push.
https://github.com/Ph3nol/NotificationPusher
apns gcm notifications php push push-notifications standalone-php-library
Last synced: about 1 month ago
JSON representation
Standalone PHP library for easy devices notifications push.
- Host: GitHub
- URL: https://github.com/Ph3nol/NotificationPusher
- Owner: Ph3nol
- License: mit
- Created: 2012-08-27T06:56:03.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T08:12:02.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:27:10.735Z (about 1 month ago)
- Topics: apns, gcm, notifications, php, push, push-notifications, standalone-php-library
- Language: PHP
- Homepage:
- Size: 367 KB
- Stars: 1,183
- Watchers: 55
- Forks: 274
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-php - Notification Pusher - A standalone library for device push notifications. (Table of Contents / Notifications)
- awesome-php-cn - Notification Pusher - 一个独立的库设备推送通知. (目录 / 通知 Notifications)
- awesome-projects - Notification Pusher - A standalone library for device push notifications. (PHP / Notifications)
- awesome-php - Notification Pusher - A standalone library for device push notifications. (Table of Contents / Notifications)
README
# NotificationPusher [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ph3nol/notificationpusher?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Standalone PHP library for easy devices message notifications push.
[![Latest Stable Version](https://img.shields.io/packagist/v/sly/notification-pusher.svg)](https://packagist.org/packages/sly/notification-pusher)
[![License](https://img.shields.io/packagist/l/sly/notification-pusher.svg)](https://packagist.org/packages/sly/notification-pusher)
[![Total Downloads](https://img.shields.io/packagist/dt/sly/notification-pusher.svg)](https://packagist.org/packages/sly/notification-pusher)
[![Build Status](https://secure.travis-ci.org/Ph3nol/NotificationPusher.png)](http://travis-ci.org/Ph3nol/NotificationPusher)[![SensioLabsInsight](https://insight.sensiolabs.com/projects/4f6f80c4-281a-4903-bf4c-1eb264995dbd/big.png)](https://insight.sensiolabs.com/projects/4f6f80c4-281a-4903-bf4c-1eb264995dbd)
**Feel free to contribute! Thanks.**
## Contributors
* [Cédric Dugat](https://github.com/Ph3nol) (Author / Lead developer)
* [Oleg Abrazhaev](https://github.com/seyfer) (Lead developer)
* [Community contributors](https://github.com/Ph3nol/NotificationPusher/graphs/contributors)## Installation
```
composer require sly/notification-pusher
```This repository uses PSR-0 autoload.
After installation with [composer](https://getcomposer.org/download/) 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
* [Installation](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/installation.md)
* [Getting started](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/getting-started.md)
* [APNS adapter](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/apns-adapter.md)
* [GCM (FCM) adapter](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/gcm-fcm-adapter.md)
* [Create an adapter](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/create-an-adapter.md)
* [Push from CLI](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/push-from-cli.md)
* [Facades](https://github.com/Ph3nol/NotificationPusher/blob/master/doc/facades.md)## Todo
* Rewrite tests in PHPUnit 8+. (contributions are welcome!)
* 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!## 1.x users
Old version is still available from [1.x branch](https://github.com/Ph3nol/NotificationPusher/tree/1.x), with dedicated declared tag.
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Ph3nol/notificationpusher/trend.png)](https://bitdeli.com/free "Bitdeli Badge")