sly / notification-pusher
Standalone PHP library for easy devices notifications push.
Fund package maintenance!
paypal.me/ph3nol
Installs: 2 624 335
Dependents: 23
Suggesters: 1
Security: 0
Stars: 1 184
Watchers: 55
Forks: 274
Open Issues: 32
Type:standalone
Requires
- php: >=5.6
- ext-ctype: *
- doctrine/inflector: ~1.1
- symfony/console: >=2.3,<5
- symfony/debug: >=2.3,<5
- symfony/filesystem: >=2.3,<5
- symfony/options-resolver: >=2.3,<5
- symfony/process: >=2.3,<5
- zendframework/zend-validator: ^2.12
- zendframework/zendservice-apple-apns: ~1.4
- zendframework/zendservice-google-gcm: ~2.1
Requires (Dev)
- atoum/atoum: ^3.1
- atoum/stubs: ^2.5
- atoum/visibility-extension: ^1.3
- symfony/var-dumper: >=2.3,<5
This package is not auto-updated.
Last update: 2024-12-18 06:05:26 UTC
README
Standalone PHP library for easy devices message notifications push.
Feel free to contribute! Thanks.
Contributors
- Cédric Dugat (Author / Lead developer)
- Oleg Abrazhaev (Lead developer)
- Community 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
- 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, with dedicated declared tag.