JumPHP extension: notification (read-only split of jumphp/jumPhp extensions/notification)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-14 21:02:30 +01:00
doc Push notifications through the JumPHP runtime: contract docs/notifications.md, Android runtime (consent, FCM notify, acks), engine RuntimeMessages, extension jumphp/notification + notification-demo, bin/jumphp notify* and notify:mcp 2026-11-14 21:01:31 +01:00
src Push notifications through the JumPHP runtime: contract docs/notifications.md, Android runtime (consent, FCM notify, acks), engine RuntimeMessages, extension jumphp/notification + notification-demo, bin/jumphp notify* and notify:mcp 2026-11-14 21:01:31 +01:00
AGENTS.md Push notifications through the JumPHP runtime: contract docs/notifications.md, Android runtime (consent, FCM notify, acks), engine RuntimeMessages, extension jumphp/notification + notification-demo, bin/jumphp notify* and notify:mcp 2026-11-14 21:01:31 +01:00
composer.json JumPHP 0.5.62: push notifications through the JumPHP runtime (engine RuntimeMessages, jumphp/notification ^0.5.62), runtime-demo tests follow the project title 2026-11-14 21:02:30 +01:00
README.md Push notifications through the JumPHP runtime: contract docs/notifications.md, Android runtime (consent, FCM notify, acks), engine RuntimeMessages, extension jumphp/notification + notification-demo, bin/jumphp notify* and notify:mcp 2026-11-14 21:01:31 +01:00

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 token jnt_…, never in a game): send(), dryRun(), stats(), history(), subscribers(), groups(), setGroups().
  • PhoneSimulator and FakeTransport for 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.