# web-push-libs/web-push-php

Web Push library for PHP

Repository: https://github.com/web-push-libs/web-push-php
Canonical: https://ross.abutalabs.com/products/web-push-php
Language: PHP
License: MIT
License Family: permissive
Topics: webpush, notifications, php, push-notifications
Last push: 2026-08-01T23:12:25+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 82, longevity 100
- inputs: {"age_days": 3932, "days_push": 32, "days_rel": 41, "gap_med": 41.0, "n_releases_24m": 9}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1890, forks 311 (observed 2026-08-28T04:05:49.494347+00:00)

## What it is
A PHP library implementing the Web Push protocol (RFC 8030) for sending push notifications to browsers via service workers. It handles subscription management, payload encryption, and delivery to push service endpoints.

## Use cases
- send web push notifications from php
- notify browser users of new content
- implement push notifications for a php backend
- send encrypted push messages to web push endpoints
- re-engage users with browser notifications
- integrate webpush into a php web app

## When to choose
- your backend is PHP 8.2+ and you need standards-compliant Web Push delivery
- you want payload encryption and multi-vendor endpoint support handled for you
- you need a maintained, MIT-licensed library with a full example app

## When to avoid
- your server runs PHP older than 8.2 and you cannot pin a legacy major version
- you need native mobile push (APNs/FCM) rather than browser Web Push
- you use a non-PHP backend stack

## Facets
- artifact type: library
- maturity: active
- function: web-framework, http-client, security, cryptography
- domain: web-development, backend, apis
- platform: php, cross-platform
- tags: web-push, push-notifications, notifications, service-worker, rfc8030, composer, web-server

## Member repositories
- web-push-libs/web-push-php (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.494347+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:13:05.236230+00:00, confidence not recorded.
  - readme: https://github.com/web-push-libs/web-push-php (fetched 2026-08-28T04:05:49.494347+00:00, sha bd57d7015ec1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
