Search by

jumphp / notification

davidnurdin

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 consent; you send them from a script, a server or Claude (MCP)

Package info

git.jumphp.net/jumphp/jumphp-notification.git

Homepage

Issues

Type:jumphp-extension

pkg:composer/jumphp/notification

Statistics

Installs: 17

Dependents: 0

Suggesters: 0

v0.5.80 2026-11-14 20:02 UTC

README

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.