JumPHP extension: notification (read-only split of jumphp/jumPhp extensions/notification)
- PHP 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| doc | ||
| src | ||
| AGENTS.md | ||
| composer.json | ||
| README.md | ||
jumphp/notification
Push notifications for JumPHP applications: the people who use your browser game or app get notifications on their phone through the
JumPHP runtime for Android, with their own consent; you send them from a script, a server, bin/jumphp notify or Claude (MCP).
bin/jumphp extension:add my-game jumphp/notification
# a Gui form: one line
- {class: JumphpExtensions\Notification\NotifyToggle, id: notify, user: player-42}
bin/jumphp notify:login my-game
bin/jumphp notify my-game --user player-42 "Your turn" "Ada played" --url /play/
Notifications(service):supported(),reason(),subscribe($user, $groups),status(),unsubscribe()(Tasks), events.NotifyToggle(Gui widget), texts in 14 languages.Sender(the owner's tokenjnt_…, never in a game):send(),dryRun(),stats(),history(),subscribers(),groups(),setGroups().PhoneSimulatorandFakeTransportfor tests.
Documentation: doc/index.md, tutorial doc/tutorial.md, samples doc/samples/, example application games/notification-demo.
Contract: docs/notifications.md of JumPHP. License MIT.