web-push-php icon indicating copy to clipboard operation
web-push-php copied to clipboard

Web Push library for PHP

Results 82 web-push-php issues
Sort by recently updated
recently updated
newest added

When the user subscribes, I log the current UserAgent for that subscription. However, as browsers update, the UserAgent eventually becomes outdated. Is there a way to request the latest UserAgent...

**NOTE**: Please test in a least two browsers (i.e. Chrome and Firefox). This helps with diagnosing problems quicker. > Please confirm the following: - [ x] I have read the...

Ubuntu 18.04.4 LTS PHP 7.2.33-1+ubuntu18.04.1+deb.sury.org+1 web-push 6.0 Using the test code: ``` $subscription = Subscription::create(json_decode(file_get_contents('php://input'), true)); $auth = array( 'VAPID' => array( 'subject' => 'https://github.com/Minishlink/web-push-php-example/', 'publicKey' => file_get_contents(__DIR__ . '/../keys/public_key.txt'),...

Hi It seems the payload arrives as null in event.data on the client side after a push message has been recieved. Testing with the following code: ``` require __DIR__ ....

Hi, I have the same problem, the web push notifications for chrome and for firefox are sent without problem, however for Edge they do not arrive and I get the...

I've added type declarations to function arguments, return values, and class properties, so there are some breaking changes.

Hello, If I flush() more than 200 notifications at a time, the push fails. Also, each batch of 200 messages needs over 10 seconds to get sent to endpoints, so...

I lost countless hours trying to make it send the payload. I used this code `Subscription::create([ 'endpoint' => $endpoint, $p256dh, $keys_auth, 'contentEncoding' => 'aesgcm', ]),` Notice I used position parameters...

When I create object of webpush class that thrown a error that is look like is => Fatal error: Uncaught Error: Class 'GuzzleHttp\Handler\CurlFactory' not found in /home/u156721806/domains/cnewsbharat.com/public_html/manage/web-push/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php:69 Stack trace: #0...

I see this library still supports PHP 7.2, which is End of Life (EOL) for more than a year. Even 7.3 is EOL as of today. The only [supported versions](https://www.php.net/supported-versions.php)...