machobearstudio / notification-pusher
Standalone PHP library for easy devices notifications push.
Package info
github.com/machobearstudio/NotificationPusher
Type:standalone
pkg:composer/machobearstudio/notification-pusher
dev-master
2023-09-21 20:21 UTC
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: 2026-03-06 07:45:28 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.0supports 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.