PHPackages                             pushed/pushed-php-api-client - 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. pushed/pushed-php-api-client

ActiveLibrary[API Development](/categories/api)

pushed/pushed-php-api-client
============================

API client library for Pushed platform

311.8kPHP

Since Jan 24Pushed 11y ago3 watchersCompare

[ Source](https://github.com/pushed/pushed-php-api-client)[ Packagist](https://packagist.org/packages/pushed/pushed-php-api-client)[ RSS](/packages/pushed-pushed-php-api-client/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Pushed Official PHP API Client
==============================

[](#pushed-official-php-api-client)

How to Install
--------------

[](#how-to-install)

### Using [Composer](http://getcomposer.org/) (Recommended)

[](#using-composer-recommended)

1. Add `"pushed/pushed-php-api-client": "dev-master"`, to your composer.json file at the `"require":` section. ([Find more about composer](http://getcomposer.org/).)
2. Run the `composer update pushed/pushed-php-api-client --no-dev` command in your shell from your root directory.

### Manual Installation

[](#manual-installation)

1. Download and extract the [latest Pushed Official PHP API Client source code](https://github.com/pushed/pushed-php-api-client/archive/master.zip)to your PHP project.
2. Require it in your app using the provided autoloader.

    ```
    require_once "/path/to/Pushed/Pushed.php";
    ```

Basic Usage
-----------

[](#basic-usage)

### App Notification

[](#app-notification)

```
$params = [
	'app_key' => 'your_app_key',
	'app_secret' => 'your_app_secret',
	'content' => 'Your notification content',
];

(new Pushed())->push->toApp($params);
```

### Channel Notification

[](#channel-notification)

```
$params = [
	'app_key' => 'your_app_key',
	'app_secret' => 'your_app_secret',
	'content' => 'Your notification content',
	'target_alias' => 'your_channel_alias',
];

(new Pushed())->push->toChannel($params);
```

### User Notification

[](#user-notification)

```
$params = [
	'app_key' => 'your_app_key',
	'app_secret' => 'your_app_secret',
	'content' => 'Your notification content',
	'target_alias' => 'destination_user_alias',
	'access_token' => 'destination_user_access_token',
];

(new \Pushed())->push->toUser($params);
```

### Pushed-ID Notification

[](#pushed-id-notification)

```
$params = [
	'app_key' => 'your_app_key',
	'app_secret' => 'your_app_secret',
	'content' => 'Your notification content',
	'target_alias' => 'destination_user_alias',
	'pushed_id' => 'destination_user_pushed_id',
];

(new \Pushed())->push->toUser($params);
```

About Pushed
------------

[](#about-pushed)

Pushed is your personal notification center with super awesome services. The app allows you to receive notifications when something important happens. Learn more aboute Pushed: [pushed.co](https://pushed.co). If you find a bug or you think you can improve this script feel free to reach us at [dev@pushed.co](dev@pushed.co).

Packagist Site:

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/647277e66a404d5e39f988ddf8d29f95fa26749cda373175fb58bb9e91c82cd5?d=identicon)[pushed](/maintainers/pushed)

---

Top Contributors

[![xavierhb](https://avatars.githubusercontent.com/u/2368418?v=4)](https://github.com/xavierhb "xavierhb (5 commits)")

### Embed Badge

![Health badge](/badges/pushed-pushed-php-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/pushed-pushed-php-api-client/health.svg)](https://phpackages.com/packages/pushed-pushed-php-api-client)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k14](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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