machobearstudio / notification-pusher
Standalone PHP library for easy devices notifications push.
Installs: 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 273
Type:standalone
Requires
- php: >=5.6 | ^7.0 | ^8.1| ^8.2
- ext-ctype: *
- doctrine/inflector: ~1.1
- laminas/laminas-http: 2.x
- machobearstudio/zendservice-apple-apns: dev-master
- machobearstudio/zendservice-google-gcm: dev-master
- symfony/console: >=2.3,<7
- symfony/error-handler: *
- symfony/filesystem: >=2.3,<7
- symfony/options-resolver: >=2.3,<7
- symfony/process: >=2.3,<7
Requires (Dev)
- atoum/atoum: 4.*
- atoum/stubs: 2.*
- atoum/visibility-extension: 2.*
- symfony/var-dumper: >=2.3,<7
This package is not auto-updated.
Last update: 2025-03-07 03:00:52 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
- ohdonpiano (Maintainer / Apple support / php 8.1+ support)
Installation
composer require ohdonpiano/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.)
- Version
v3.0
supports php 8.1+
Today available adapters
- APNS (Apple)
- 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.