|All requests||>||Push notifications for web browsers a...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by pbnkp - 6 months ago (2023-05-17)
Iím looking for a package that I can self host and I can use on my own custom php code and add it into and use. Iím using php 7.4.2
2. by Okanlawon Anuoluwapo - 6 months ago (2023-05-17) Reply
Web push notification is tricky to achieve on PWA, especially with PHP but, try this package I recently used: minishlink/web-push install with composer, and include it in your project, I hope this solves it and is precisely what you are looking for.
1. by Manuel Lemos - 6 months ago (2023-05-17) Reply
If you tried the push notification packages in the site, can you tell more what happens when you try it with Apple iOS 16.4 so it does not work for you?
With the release of version 16.4 the Push API will be supported by iOS
"Now with iOS and iPadOS 16.4, we are adding support for Web Push to Home Screen web apps. Web Push makes it possible for web developers to send push notifications to their users through the use of Push API, Notifications API, and Service Workers all working together."
The proposed package works in the frontend with the specified API's and should therefore also work on iOS devices from this version onwards.
The backend written in PHP is independent of the client system anyway.
However, since I don't have access to iOS devices, I can't test the compatibility myself and would be grateful if other developers would share their experiences in this regard (possibly also with changes/encancements/fixes) here in the support forum of the package