PHPackages                             appricos/pushinator-php - 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. appricos/pushinator-php

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

appricos/pushinator-php
=======================

A PHP client for the Pushinator API

v1.1.1(1mo ago)0230MITPHPPHP &gt;=7.4CI passing

Since Jan 27Pushed 1mo agoCompare

[ Source](https://github.com/appricos/pushinator-php)[ Packagist](https://packagist.org/packages/appricos/pushinator-php)[ RSS](/packages/appricos-pushinator-php/feed)WikiDiscussions main Synced today

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

Pushinator PHP Client
=====================

[](#pushinator-php-client)

A PHP Composer package that enables developers to send push notifications seamlessly through the Pushinator API.

Installation
------------

[](#installation)

Install the package using Composer:

```
composer require appricos/pushinator-php
```

Make sure Composer's autoloader is included in your project:

```
require 'vendor/autoload.php';
```

Usage
-----

[](#usage)

### Initializing the Client

[](#initializing-the-client)

To start using the PushinatorClient, create an instance by passing your API token:

```
use Pushinator\PushinatorClient;

$client = new PushinatorClient('PUSHINATOR_API_TOKEN');
```

### Sending Notifications

[](#sending-notifications)

To send a notification to a specific channel, use the `sendNotification` method. Provide your channel ID and the notification content as arguments:

```
use Pushinator\PushinatorClient;

$client = new PushinatorClient('PUSHINATOR_API_TOKEN');

try {
    $client->sendNotification('PUSHINATOR_CHANNEL_ID', 'Hello from PHP!');
} catch (Exception $e) {
    echo "Error: " . $e->getMessage();
}
```

### Managing Channels

[](#managing-channels)

All channel methods return an array with the decoded JSON response from the API. On failure, a `RuntimeException` is thrown.

#### List channels

[](#list-channels)

```
$channels = $client->listChannels();
// $channels['data'] — array of channel objects
```

#### Create a channel

[](#create-a-channel)

```
$channel = $client->createChannel(
    name: 'My Channel',
    description: 'Optional description',  // optional
);
// $channel['data'] — created channel object
```

#### Get a channel

[](#get-a-channel)

```
$channel = $client->getChannel('PUSHINATOR_CHANNEL_ID');
// $channel['data'] — channel object
```

#### Update a channel

[](#update-a-channel)

```
$channel = $client->updateChannel(
    channelId: 'PUSHINATOR_CHANNEL_ID',
    name: 'Updated Name',
    description: 'Updated description',   // optional
);
// $channel['data'] — updated channel object
```

#### Delete a channel

[](#delete-a-channel)

```
$channel = $client->deleteChannel('PUSHINATOR_CHANNEL_ID');
// $channel['data'] — deleted channel object
```

#### Channel object structure

[](#channel-object-structure)

```
{
  "data": {
    "id": "channel-id",
    "name": "My Channel",
    "description": "Optional description",
    "acknowledgment_enabled": false,
    "created_at": "2024-01-01T00:00:00.000000Z",
    "updated_at": "2024-01-01T00:00:00.000000Z"
  }
}
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance93

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~244 days

Total

3

Last Release

34d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/192736158?v=4)[Appricos](/maintainers/appricos)[@appricos](https://github.com/appricos)

---

Top Contributors

[![felixtamoyan](https://avatars.githubusercontent.com/u/30828164?v=4)](https://github.com/felixtamoyan "felixtamoyan (4 commits)")[![makstamoian](https://avatars.githubusercontent.com/u/99553497?v=4)](https://github.com/makstamoian "makstamoian (2 commits)")

---

Tags

composer-packagenotificationsphppush-notifications

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/appricos-pushinator-php/health.svg)

```
[![Health](https://phpackages.com/badges/appricos-pushinator-php/health.svg)](https://phpackages.com/packages/appricos-pushinator-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NotifyX、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

687114.3k8](/packages/guanguans-notify)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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