PHPackages                             unificationengine/ue-php-sdk - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. unificationengine/ue-php-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

unificationengine/ue-php-sdk
============================

UnificationEngine PHP SDK

1.5.1(10y ago)2120PHP

Since Mar 13Pushed 8y ago12 watchersCompare

[ Source](https://github.com/unifiedinbox/ue-php-sdk)[ Packagist](https://packagist.org/packages/unificationengine/ue-php-sdk)[ RSS](/packages/unificationengine-ue-php-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

ue-php-sdk
==========

[](#ue-php-sdk)

> A UnificationEngine client SDK for PHP

Installation Using Composer/Packagist
-------------------------------------

[](#installation-using-composerpackagist)

```
$ composer require unificationengine/ue-php-sdk
```

Usage
-----

[](#usage)

```
use UnificationEngine\Models\UEApp;
$app = new UEApp("APP_KEY","APP_SECRET");
```

#### Creating User

[](#creating-user)

```
use UnificationEngine\Models\UEApp;
use UnificationEngine\Models\UEUser;

//Use our app
$app = new UEApp("APP_KEY","APP_SECRET");

//Creating a new user
$user = $app->create_user();

//Using existing user using key and secret
$user = new UEUser("USER_KEY","USER_SECRET");

//Using existing user using it's uri
$user = new UEUser("user://USER_KEY:USER_SECRET@");
```

#### Listing Users

[](#listing-users)

```
$users = $app->list_users();
```

note: listed users does not have the user\_secret listed for security reasons. So, you cant use a user from the list unless you have saved it's key somewhere

#### Deleting User

[](#deleting-user)

```
$user = $app->create_user();
$app->delete_user($user) //true
```

#### Adding a connection to a user

[](#adding-a-connection-to-a-user)

```
$connection = $user->add_connection("connection_name", "service", "service_access_token", $optional_params);
//connection is an instance of UEConnection
```

- `connection_name` must be unique per connection.
- `service` must be the scheme of the connector from the developer portal
- `service_access_token` has to be valid and working from the provider side
- `$optional_params` should be an array with "key", "value" pair

#### Listing User connections

[](#listing-user-connections)

```
$connections = $user->list_connections()
// connections is an array of UEConnection objects
```

#### Removing a User Connection

[](#removing-a-user-connection)

```
$user->remove_connection($connection_name) //true | false
```

#### Testing a connection

[](#testing-a-connection)

```
//return true if working, false otherwise
$user->test_connection($service_url) //eg: facebook://accesstoken@facebook.com
```

### Sending a message using a connection

[](#sending-a-message-using-a-connection)

```
$app  = new UEApp("APP_KEY","APP_SECRET");

//Create a new user
$user = $app->create_user();

//Or use an existing user
$user = new UEUser("USER_KEY","USER_SECRET");

//Add a connection. (throws an error if the connection is not added)
$connection = $user->add_connection("FB","facebook","FACEBOOK_ACCESS_TOKEN");
//                                    |       |
// Connection Name  ------------------+       |
// Connector Scheme  -------------------------+

//Message Options
$options = array(
    "receivers" => array(
        array(
            "name"=>"Page",
            "id"=>"283031198486599"
        ),
        array(
            "name"=> "Me"
        )
    ),
    "message"=>array(
        "subject"=>"test",
        "body"=> "ABC",
        "image"=>"http://politibits.blogs.tuscaloosanews.com/files/2010/07/sanford_big_dummy_navy_shirt.jpg",
        "link"=>array(
            "uri"=> "http://google.com",
            "description"=> "link desc",
            "title"=>"link title"
        )
    )
);

//Send the message and get their uris
$uris = $connection->send_message($options);

print_r($uris);
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 86.1% 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 ~4 days

Total

4

Last Release

3701d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/688dae9f3d1a9e47fc9c793f0805dc3fb158d6c7c01060a79238f4b183485971?d=identicon)[daedlock](/maintainers/daedlock)

---

Top Contributors

[![daedlock](https://avatars.githubusercontent.com/u/842346?v=4)](https://github.com/daedlock "daedlock (31 commits)")[![jyothisjose](https://avatars.githubusercontent.com/u/601669?v=4)](https://github.com/jyothisjose "jyothisjose (5 commits)")

### Embed Badge

![Health badge](/badges/unificationengine-ue-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/unificationengine-ue-php-sdk/health.svg)](https://phpackages.com/packages/unificationengine-ue-php-sdk)
```

###  Alternatives

[yourls/yourls

Your Own URL Shortener

11.9k27.7k1](/packages/yourls-yourls)

PHPackages © 2026

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