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 1w 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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

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

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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