web-push-php
web-push-php copied to clipboard
Web Push library for PHP
getting wrong keys and auth value in webpush i am using php web push to send notification but i am getting error. it seems that generated keys and auth are...
i have this in my php file $auth = array( 'VAPID' => array( 'subject' => 'mailto:[email protected]', // can be a mailto: or your website address 'publicKey' => 'somekeyyyy', 'privateKey' =>...
When the p256dh key has a dash(-) at the end, the library throws an error. An example p256dh: BGzoP5QD6aKTKGhmQ9pwIl0pLYNdxMHP3MmWaukujsXtweN9BQuIPVihjpf- The library works for all other p256dh keys.
## Changes Breaking: - change default encoding to aes128g - change subscription interface - Remove legacy GCM - Remove old Chrome subscription support Feature: - convert contentEncoding to typesafe enum...
@Minishlink some task I think that should be done before a release. - [x] There is legacy code to support early Chrome push by firebase. This is deprecated by google....
We are using the following simple code to flush the Queue: `foreach( $webPush->flush() as $report ){ .... }` The problem is, we need our own variables (the UserID) inside the...
Hello there, thank you @Minishlink for this code. Generally, it works very well. Just one problem with notifications sent to web.push.apple.com: In general, sending notifications to web.push.apple.com works fine. But:...
This is feature request: Minishlink\WebPush\Subscription in constructor checks $contentEncoding against local variable. That prevents setting unsupported value, but there is no way for developer to easily find encoding which is...
> Please confirm the following: - [X] I have read the [README](https://github.com/web-push-libs/web-push-php) entirely - [X] I have verified in the [issues](https://github.com/web-push-libs/web-push-php/issues) that my problem hasn't already been resolved # Setup...