PHPackages                             ethinking/push-api - 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. [API Development](/categories/api)
4. /
5. ethinking/push-api

ActiveLibrary[API Development](/categories/api)

ethinking/push-api
==================

Push API

v3.1.1(5y ago)0942Apache-2.0PHPPHP ^7.0CI failing

Since Nov 9Pushed 4y ago3 watchersCompare

[ Source](https://github.com/oss-ethinking/push-api-php)[ Packagist](https://packagist.org/packages/ethinking/push-api)[ RSS](/packages/ethinking-push-api/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)Dependencies (7)Versions (4)Used By (2)

Push API
--------

[](#push-api)

Push.Delivery service wrapper which makes it possible to send Push Notifications via various channels to many subscribers and in high speed

### Installation

[](#installation)

The easiest and recommended way to install this utility is as a composer package:

```
composer require ethinking/push-api dev-master
```

### Usage

[](#usage)

Add to your root routes.yaml the next code:

```
push_api_service_worker:
  path: /service-worker.js
  controller: Ethinking\EthinkingPushApiBundle\Controller\ServiceWorkerController::indexAction

push_api_web_push:
  path: /webpush.js
  controller: Ethinking\EthinkingPushApiBundle\Controller\WebPushController::indexAction
```

Add to your services.yaml the next code:

```
Ethinking\EthinkingPushApiBundle\Service\PushApiService:
    arguments:
        - '@Symfony\Contracts\HttpClient\HttpClientInterface'
        - '@logger'
        - '@Symfony\Contracts\Cache\CacheInterface'
```

Initialize in your class:

```
use Ethinking\EthinkingPushApiBundle\Service\PushApiService;
use Ethinking\EthinkingPushApiBundle\Entity\Settings;

public function __construct(PushApiService $pushApiService)
{
    settings = new Settings(
        $this->getSettingsId(),
        $this->getDomain(),
        $this->getUsername(),
        $this->getPassword(),
        $this->getClientId()
    );

    $pushApiService->setSettings($settings);
}
```

Update assets

```
yarn encore dev
```

Clear cache

```
php bin/console c:c
```

### Dependencies

[](#dependencies)

```
{
    "symfony/dependency-injection": "^5.0",
    "symfony/http-kernel": "^5.0",
    "symfony/http-foundation": "^4.4|^5.0",
    "symfony/http-client": "^4.3|^5.0",
    "symfony/http-client-contracts": "^1.1.8|^2",
    "symfony/validator": "^3.4.30|^4.3.3|^5.0",
    "symfony/mime": "^4.3|^5.0"
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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 ~8 days

Total

2

Last Release

2008d ago

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/ethinking-push-api/health.svg)

```
[![Health](https://phpackages.com/badges/ethinking-push-api/health.svg)](https://phpackages.com/packages/ethinking-push-api)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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