PHPackages                             dnode/dnode - 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. dnode/dnode

AbandonedArchivedLibrary[API Development](/categories/api)

dnode/dnode
===========

DNode RPC protocol for PHP 5.3

v0.2.0(12y ago)425106.6k—0%86[9 issues](https://github.com/bergie/dnode-php/issues)[5 PRs](https://github.com/bergie/dnode-php/pulls)5MITPHPPHP &gt;=5.3.0

Since Oct 30Pushed 12y ago30 watchersCompare

[ Source](https://github.com/bergie/dnode-php)[ Packagist](https://packagist.org/packages/dnode/dnode)[ Docs](https://github.com/bergie/dnode-php)[ RSS](/packages/dnode-dnode/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (5)

DNode protocol for PHP
======================

[](#dnode-protocol-for-php)

This project implements the [DNode](http://substack.net/dnode) remote procedure call protocol for PHP. The intent is to enable PHP scripts to act as part of a distributed Node.js cloud, allowing Node to call PHP code, and PHP to call Node code.

You can read more about DNode and PHP in the [introductory blog post](http://bergie.iki.fi/blog/dnode-make_php_and_node-js_talk_to_each_other/).

[![Build Status](https://camo.githubusercontent.com/eb12cab49344972ebf9d9bde79b99a5aa9ff3e4e9eeb06420b72fdeabbca0cfa/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6265726769652f646e6f64652d7068702e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/bergie/dnode-php)

Installing
----------

[](#installing)

dnode-php can be installed using the [Composer](http://packagist.org/) tool. You can either add `dnode/dnode` to your package dependencies, or if you want to install dnode-php as standalone, go to the main directory of this package and run:

```
$ wget http://getcomposer.org/composer.phar
$ php composer.phar install

```

You can then use the composer-generated autoloader to access the DNode classes:

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

```

Running the examples
--------------------

[](#running-the-examples)

After installing, you can run the DNode examples located in the examples directory. Each example contains both a client and a server.

For example:

```
$ php examples/simple/server.php
$ php examples/simple/client.php
n = 3300

```

The examples have been written to be compatible with the [DNode examples](https://github.com/substack/dnode/tree/master/example), meaning that you can use any combination of PHP-to-PHP, Node-to-Node, PHP-to-Node, or Node-to-PHP as you wish.

```
$ node simple/client.js
n = 3300

```

Current limitations
-------------------

[](#current-limitations)

- Only regular, non-encrypted TCP sockets are supported

Development
-----------

[](#development)

dnode-php is under heavy development. If you want to participate, please send pull requests.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity52

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~205 days

Total

5

Last Release

4490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3afcc18d00fff840775bbf9570b3e9cd3997ca4820b9bfb14caf6da3ae580370?d=identicon)[igorw](/maintainers/igorw)

![](https://avatars.githubusercontent.com/u/3346?v=4)[Henri Bergius](/maintainers/bergie)[@bergie](https://github.com/bergie)

---

Top Contributors

[![bergie](https://avatars.githubusercontent.com/u/3346?v=4)](https://github.com/bergie "bergie (41 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (33 commits)")[![piotras](https://avatars.githubusercontent.com/u/232506?v=4)](https://github.com/piotras "piotras (3 commits)")[![frega](https://avatars.githubusercontent.com/u/183031?v=4)](https://github.com/frega "frega (2 commits)")[![interarticle](https://avatars.githubusercontent.com/u/1386918?v=4)](https://github.com/interarticle "interarticle (1 commits)")[![cravler](https://avatars.githubusercontent.com/u/157440?v=4)](https://github.com/cravler "cravler (1 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")[![Seldaek](https://avatars.githubusercontent.com/u/183678?v=4)](https://github.com/Seldaek "Seldaek (1 commits)")[![skenqbx](https://avatars.githubusercontent.com/u/1083944?v=4)](https://github.com/skenqbx "skenqbx (1 commits)")[![techdubb](https://avatars.githubusercontent.com/u/181554?v=4)](https://github.com/techdubb "techdubb (1 commits)")

---

Tags

rpcnodejsdnode

### Embed Badge

![Health badge](/badges/dnode-dnode/health.svg)

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

###  Alternatives

[apache/thrift

Apache Thrift RPC system

10.9k2.1M41](/packages/apache-thrift)[grpc/grpc

gRPC library for PHP

506116.6M180](/packages/grpc-grpc)[sajya/server

Easy implementation of the JSON-RPC 2.0 server for the Laravel framework.

2391.9M4](/packages/sajya-server)[lstrojny/fxmlrpc

Fast and tiny XML/RPC client with bridges for various HTTP clients

1425.4M30](/packages/lstrojny-fxmlrpc)[jsonrpc/jsonrpc

JSON-RPC 2.0 client/server implementation

53407.1k4](/packages/jsonrpc-jsonrpc)[tivoka/tivoka

The universal JSON-RPC client/server library. JSON-RPC done right!

74159.0k3](/packages/tivoka-tivoka)

PHPackages © 2026

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