PHPackages                             synchrotalk/meteor-ddp-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. [API Development](/categories/api)
4. /
5. synchrotalk/meteor-ddp-php

ActiveLibrary[API Development](/categories/api)

synchrotalk/meteor-ddp-php
==========================

DDP client for PHP

023PHP

Since Sep 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/synchrotalk/meteor-ddp-php)[ Packagist](https://packagist.org/packages/synchrotalk/meteor-ddp-php)[ RSS](/packages/synchrotalk-meteor-ddp-php/feed)WikiDiscussions refactor Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

meteor-ddp-php
==============

[](#meteor-ddp-php)

A [minimalist](http://www.becomingminimalist.com/) PHP library that implements DDP client, the realtime protocol for [Meteor](https://www.meteor.com/ddp) framework.

[![Join the chat at https://gitter.im/synchrotalk/meteor-ddp-php](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/synchrotalk/meteor-ddp-php?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

### How to use

[](#how-to-use)

Suppose you have declared a remote function `foo` in your meteor server code :

```
Meteor.methods({
  foo : function (arg) {
    check(arg, Number);
    if (arg == 1) { return 42; }
    return "You suck";
  }
});
```

Then in your php client's code, you could just invoke `foo` by executing :

```
use synchrotalk\MeteorDDP\DDPClient;

$client = new DDPClient('localhost', 3000);

$client->connect();

$client->call("foo", array(1));
while(($a = $client->getResult("foo")) === null) {};

echo 'Result = ' . $a . PHP_EOL;

$client->stop();
```

===&gt;

```
Result = 42

```

More use cases can be found in the [examples](https://github.com/synchrotalk/meteor-ddp-php/tree/devel/examples) folder.

### How to install

[](#how-to-install)

This library is available via [composer](https://packagist.org/packages/synchrotalk/meteor-ddp-php), the dependency manager for PHP. Please add this in your composer.json :

```
"require" : {
    "synchrotalk/meteor-ddp-php": "0.1.0"
}
```

and update composer to automatically retrieve the package :

```
php composer.phar update
```

### Roadmap

[](#roadmap)

None

### Version

[](#version)

0.1.0

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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/cad4721a0aae9d086b9ca891a1d54d667be1b41f8367dbef9762fdf70c6cccec?d=identicon)[Enelar](/maintainers/Enelar)

---

Top Contributors

[![Enelar](https://avatars.githubusercontent.com/u/750396?v=4)](https://github.com/Enelar "Enelar (60 commits)")[![zyzo](https://avatars.githubusercontent.com/u/6483446?v=4)](https://github.com/zyzo "zyzo (11 commits)")[![gitter-badger](https://avatars.githubusercontent.com/u/8518239?v=4)](https://github.com/gitter-badger "gitter-badger (1 commits)")

### Embed Badge

![Health badge](/badges/synchrotalk-meteor-ddp-php/health.svg)

```
[![Health](https://phpackages.com/badges/synchrotalk-meteor-ddp-php/health.svg)](https://phpackages.com/packages/synchrotalk-meteor-ddp-php)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

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

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

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

PHPackages © 2026

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