Installation
The library can be installed using the package spomky-labs/web-push-lib
composer require spomky-labs/web-push-libVAPID Header
The VAPID header authenticates your server and prevents malicious applications from sending notifications to your users. The header contains a signed JSON Web Token (JWS).
The library provides bridges for the following libraries web-token and lcobucci/jwt.
Please install web-token/jwt-library or lcobucci/jwt depending on the library you want to use.
Last updated
Was this helpful?