Registry / networking / minishlink-web-push

minishlink-web-push

JSON →
library10.0.1phppackagistunverified

Web Push library for PHP.

composer require minishlink/web-push
INSTALL
IMPORT
SIG · MINISHLINK-WEB-PUS
M
minishlink-web-push
networkingphpv10.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WebPush
use Minishlink\WebPush\WebPush;

Send a web push notification.

use Minishlink\WebPush\WebPush; $webPush = new WebPush(['VAPID' => ['subject' => 'mailto:example@example.com', 'publicKey' => '...', 'privateKey' => '...']]); $webPush->sendNotification('endpoint', 'payload');
Debug
Known issues
breakingRequires PHP 8.0+ and ext-json.
fix
Ensure PHP 8.0+ and JSON extension are installed.
affects: >=10.0
Upgrade
Version history
10.0.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
minishlink-web-push — pip install minishlink-web-push · libregistry