History: Push notifications
Source of version: 10 (current)
Copy to clipboard
In ((Tiki25)), we added support for ((doc:Realtime)) Tiki. We'll let this mature a bit and explore a [https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API|Web Push Notifications] package in ((Tiki26)). In this page I describe some package proposals that I found, Do not hesitate to add other packages if you have an idea. !!__minishlink/web-push__ This package is available at https://packagist.org/packages/minishlink/web-push, This is the most popular one I found, it allows to send notifications to terminals whose server delivers the Web Push notifications as described in the Web Push protocol. As it is standardized. !!! Advantage * The library is very popular with more than 2,811,514 installations * There is an active community around the library, see: https://github.com/web-push-libs/web-push-php. * Easy integration and does not require any other installation !!! Disadvantages * There is no support and maintenance for older versions of PHP (from 7.2) !!__spomky-labs/web-push-lib__ This package is available at https://packagist.org/packages/spomky-labs/web-push-lib This library also allows notifications to be sent to compatible browsers. !!!Advantage * Easy to integrate as for the first !!!Disadvantages * it's not too popular with just 4,217 installs. * Requires an additional library installation: __nyholm/prs7 __and __symfony/http-client__ !!__laravel-notification-channels/webpush__ This package is available at https://packagist.org/packages/laravel-notification-channels/webpush, It's also a good library for web push, but its implementation is made with the Laravel framework, so with Tiki it really won't be the right choice. !!!Advantage * Easy to integrate as for the first * Offers several options !!!Disadvantages * necessarily linked to the Laravel framework Please add other package proposals that you find. !! Mercure * https://mercure.rocks/docs/mercure * https://packagist.org/packages/symfony/mercure Related links * https://notifications.spec.whatwg.org/ * ((Realtime)) ~tc~ (alias(Proposal-of-web-push-packages)) ~/tc~