PHPackages                             maestroprog/esockets - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. maestroprog/esockets

ActiveLibrary[HTTP &amp; Networking](/categories/http)

maestroprog/esockets
====================

Easy sockets for PHP7.1+

2.1.3-RC(8y ago)01342MITPHPPHP &gt;=7.1.0

Since Jan 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/maestroprog/esockets)[ Packagist](https://packagist.org/packages/maestroprog/esockets)[ Docs](https://github.com/maestroprog/esockets)[ RSS](/packages/maestroprog-esockets/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)DependenciesVersions (8)Used By (2)

EasyStream work with php sockets, using callback handlers
=========================================================

[](#easystream-work-with-php-sockets-using-callback-handlers)

What is esockets?
-----------------

[](#what-is-esockets)

This project was conceived as a tool to facilitate the work with inter-process communication.

Which PHP version is supported?
-------------------------------

[](#which-php-version-is-supported)

Supported PHP 7.1 or higher version

Samples of use:
---------------

[](#samples-of-use)

- [A simple example of working server and client in blocking mode](sample/index-wiki.php)
- [An example of a simple HTTP server](sample/http/server.php)

Features
--------

[](#features)

- Callback handlers for all socket events,
- Built-in application protocol `EasyStream`, allowing to transfer on a network practically any data structures of php (only for tcp),
- Supports blocking and non-blocking modes of operation
- Correct work on Linux and Windows

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~68 days

Total

5

Last Release

3004d ago

PHP version history (2 changes)v2.0-alphaPHP &gt;=7.0.0

2.1-betaPHP &gt;=7.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b52ba37ae503156baeec8ceb3ffdd423bdaa139e0ca347da7b0f1c2caacce51?d=identicon)[maestroprog](/maintainers/maestroprog)

---

Top Contributors

[![maestroprog](https://avatars.githubusercontent.com/u/13558383?v=4)](https://github.com/maestroprog "maestroprog (56 commits)")

---

Tags

phpsocketSocketnetworkingipc

### Embed Badge

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

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

###  Alternatives

[pear/net_url2

Class for parsing and handling URL. Provides parsing of URLs into their constituent parts (scheme, host, path etc.), URL generation, and resolving of relative URLs.

4912.2M32](/packages/pear-net-url2)[fresh/centrifugo-bundle

Provides communication with web-socket server Centrifugo in Symfony applications.

83375.3k](/packages/fresh-centrifugo-bundle)[denis660/laravel-centrifugo

Centrifugo broadcaster for laravel

113164.7k](/packages/denis660-laravel-centrifugo)[opekunov/laravel-centrifugo-broadcaster

Centrifugo broadcaster for Laravel 8.75-11.x and Centrifugo &gt;= 5.0

49461.3k](/packages/opekunov-laravel-centrifugo-broadcaster)[warriorxk/phpwebsockets

A websocket library with support for IPC using socket pairs

1225.3k](/packages/warriorxk-phpwebsockets)[cidram/aggregator

A stand-alone class implementation of the IPv4+IPv6 IP+CIDR aggregator from CIDRAM.

2624.1k](/packages/cidram-aggregator)

PHPackages © 2026

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