PHPackages                             blar/sockets - 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. blar/sockets

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

blar/sockets
============

Sockets for PHP

v1.0.0(10y ago)0166LGPL-3.0+PHPPHP &gt;=5.5.0

Since Nov 8Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![License](https://camo.githubusercontent.com/46cec136b92d647f48cb99ecf95164807c4faf20f1b0ee819704353b820c7d71/68747470733a2f2f706f7365722e707567782e6f72672f626c61722f736f636b6574732f6c6963656e7365)](https://packagist.org/packages/blar/sockets)[![Latest Stable Version](https://camo.githubusercontent.com/eeb597ea36a04c0502dc173a19efcf6b55979bc195182a3291e4f79b6390d8d4/68747470733a2f2f706f7365722e707567782e6f72672f626c61722f736f636b6574732f762f737461626c65)](https://packagist.org/packages/blar/sockets)[![Build Status](https://camo.githubusercontent.com/2469ccc8d4f4472272cef699f414bb60a1ce28814395b5f1a098a3331aeb8f77/68747470733a2f2f7472617669732d63692e6f72672f626c61722f736f636b6574732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/blar/sockets)[![Coverage Status](https://camo.githubusercontent.com/fe1b342e51918d7db08094429eb3bc0f46be978a212ac4ea743c0cce2c764f40/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f626c61722f736f636b6574732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/blar/sockets?branch=master)[![Dependency Status](https://camo.githubusercontent.com/4d08677be47ea70c51dbfe02cfa4a5d89aaa6c5e0bcfe9a0521f7d2976ce0bd0/68747470733a2f2f67656d6e617369756d2e636f6d2f626c61722f736f636b6574732e737667)](https://gemnasium.com/blar/sockets)

Sockets
=======

[](#sockets)

Beispiele
---------

[](#beispiele)

### Netzwerk-Socket

[](#netzwerk-socket)

```
$socket = new NetworkSocket('127.0.0.1', 80);

```

### Unix-Domain-Socket

[](#unix-domain-socket)

```
$socket = new UnixSocket('/var/run/test.sock');

```

Installation
------------

[](#installation)

### Installation per Composer

[](#installation-per-composer)

```
$ composer require blar/sockets

```

### Installation per Git

[](#installation-per-git)

```
$ git clone https://github.com/blar/sockets.git

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3845d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/111508?v=4)[Andreas Treichel](/maintainers/blar)[@blar](https://github.com/blar)

---

Top Contributors

[![blar](https://avatars.githubusercontent.com/u/111508?v=4)](https://github.com/blar "blar (20 commits)")

---

Tags

phpsockets

### Embed Badge

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

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

###  Alternatives

[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)

PHPackages © 2026

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