PHPackages                             spomky-labs/web-push-lib - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. spomky-labs/web-push-lib

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

spomky-labs/web-push-lib
========================

Web-Push library for PHP

3.2.1(3mo ago)323.3k↓17.1%21MITPHPPHP &gt;=8.2

Since May 6Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Spomky-Labs/web-push-lib)[ Packagist](https://packagist.org/packages/spomky-labs/web-push-lib)[ Docs](https://github.com/spomky-labs/web-push)[ GitHub Sponsors](https://github.com/Spomky)[ Patreon](https://www.patreon.com/FlorentMorselli)[ RSS](/packages/spomky-labs-web-push-lib/feed)WikiDiscussions v1.0 Synced 1mo ago

READMEChangelogDependencies (4)Versions (16)Used By (1)

WebPush Support for PHP
=======================

[](#webpush-support-for-php)

**WebPush Support for PHP** is a **PHP library** that will help you to send notifications using the Web-Push protocol.

Installation
============

[](#installation)

Install the library with Composer: `composer require spomky-labs/web-push-lib`.

Contribution
============

[](#contribution)

This repository is a sub repository of [the Web-Push Framework](https://github.com/spomky-labs/web-push) project and is **READ ONLY**.

**Please do not submit any Pull Request here.**You should go to [the main repository](https://github.com/spomky-labs/web-push) instead.

Documentation
=============

[](#documentation)

The official documentation is available at

Support
=======

[](#support)

I bring solutions to your problems and answer your questions.

If you really love that project, and the work I have done or if you want I prioritize your issues, then you can help me out for a couple of 🍻 or more!

[Become a sponsor](https://github.com/sponsors/Spomky)

Or

[![Become a Patreon](https://camo.githubusercontent.com/ef7b855018f1f680eeba6fd1ac470b9c1971ef883b2f4b9fcf41034274510e3f/68747470733a2f2f63352e70617472656f6e2e636f6d2f65787465726e616c2f6c6f676f2f6265636f6d655f615f706174726f6e5f627574746f6e2e706e67)](https://www.patreon.com/FlorentMorselli)

Licence
=======

[](#licence)

This project is release under [MIT licence](LICENSE).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~114 days

Recently: every ~162 days

Total

16

Last Release

117d ago

Major Versions

v1.0.0 → v2.0.02021-11-23

v1.0.x-dev → v2.0.x-dev2021-12-07

1.0.1 → 2.0.22023-05-12

2.0.2 → 3.1.02023-11-16

PHP version history (3 changes)v1.0.0PHP &gt;=7.4

v2.0.0PHP &gt;=8.0

3.1.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccc6c59de7d9ddc53219653bc58f1e082ef83d96632d233eedc0b7097cf80ea3?d=identicon)[Spomky](/maintainers/Spomky)

---

Top Contributors

[![Spomky](https://avatars.githubusercontent.com/u/1091072?v=4)](https://github.com/Spomky "Spomky (1 commits)")

---

Tags

webpushnotificationsWebPushPush API

### Embed Badge

![Health badge](/badges/spomky-labs-web-push-lib/health.svg)

```
[![Health](https://phpackages.com/badges/spomky-labs-web-push-lib/health.svg)](https://phpackages.com/packages/spomky-labs-web-push-lib)
```

###  Alternatives

[minishlink/web-push

Web Push library for PHP

1.9k12.0M53](/packages/minishlink-web-push)[bentools/webpush-bundle

Send push notifications through Web Push Protocol to your Symfony users.

71274.3k](/packages/bentools-webpush-bundle)[minishlink/web-push-bundle

Symfony Bundle around the WebPush library

56318.3k2](/packages/minishlink-web-push-bundle)[spomky-labs/web-push

Web-Push framework for PHP

281.8k](/packages/spomky-labs-web-push)[berkayk/onesignal-laravel

OneSignal Push Wrapper Laravel

5295.9M12](/packages/berkayk-onesignal-laravel)[alymosul/exponent-server-sdk-php

Server-side library for working with Expo push notifications using PHP

1541.5M14](/packages/alymosul-exponent-server-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
