PHPackages                             dimarick/net\_socket - 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. dimarick/net\_socket

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

dimarick/net\_socket
====================

More info available on: http://pear.php.net/package/Net\_Socket

v2.0.0beta2(8y ago)013.7k1BSD-2-ClausePHPPHP &gt;=5.6.0

Since Feb 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/dimarick/Net_Socket)[ Packagist](https://packagist.org/packages/dimarick/net_socket)[ RSS](/packages/dimarick-net-socket/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

Net\_Socket - Network Socket Interface
======================================

[](#net_socket---network-socket-interface)

[![Build Status](https://camo.githubusercontent.com/0a29e58fecc40e87fb6f5ba5ac01793565135c6855e12b43e271372b30087174/68747470733a2f2f7472617669732d63692e6f72672f706561722f4e65745f536f636b65742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/Net_Socket)

Net\_Socket is a class interface to TCP sockets. It provides blocking and non-blocking operation, with different reading and writing modes (byte-wise, block-wise, line-wise and special formats like network byte-order ip addresses).

[Homepage](http://pear.php.net/package/Net_Socket/)

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

[](#installation)

For a PEAR installation that downloads from the PEAR channel:

`$ pear install pear/net_socket`

For a PEAR installation from a previously downloaded tarball:

`$ pear install Net_Socket-*.tgz`

For a PEAR installation from a code clone:

`$ pear install package.xml`

For a local composer installation:

`$ composer install`

To add as a dependency to your composer-managed application:

`$composer require pear/net_socket`

Tests
-----

[](#tests)

Run the tests from a local composer installation:

`$ ./vendor/bin/phpunit`

License
-------

[](#license)

BSD-2 license

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity49

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

Recently: every ~51 days

Total

6

Last Release

3150d ago

Major Versions

v1.2.1 → v2.0.0beta12017-09-28

PHP version history (2 changes)v1.1.0PHP &gt;=5.4.0

v2.0.0beta1PHP &gt;=5.6.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e32ac47d3425e1d7bd00bfc05c95ad7083ffb9ed12dd7813431cbf7f7a385e0b?d=identicon)[dimarick](/maintainers/dimarick)

---

Top Contributors

[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (22 commits)")[![alecpl](https://avatars.githubusercontent.com/u/546788?v=4)](https://github.com/alecpl "alecpl (14 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (13 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (3 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![stigsb](https://avatars.githubusercontent.com/u/169939?v=4)](https://github.com/stigsb "stigsb (3 commits)")[![leithoff](https://avatars.githubusercontent.com/u/1982846?v=4)](https://github.com/leithoff "leithoff (2 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (2 commits)")[![tvvcox](https://avatars.githubusercontent.com/u/743820?v=4)](https://github.com/tvvcox "tvvcox (1 commits)")[![roelvanmeer](https://avatars.githubusercontent.com/u/11042467?v=4)](https://github.com/roelvanmeer "roelvanmeer (1 commits)")[![rspadim](https://avatars.githubusercontent.com/u/2468782?v=4)](https://github.com/rspadim "rspadim (1 commits)")[![endelwar](https://avatars.githubusercontent.com/u/28512?v=4)](https://github.com/endelwar "endelwar (1 commits)")[![dimarick](https://avatars.githubusercontent.com/u/2605934?v=4)](https://github.com/dimarick "dimarick (1 commits)")[![jpswade](https://avatars.githubusercontent.com/u/1087963?v=4)](https://github.com/jpswade "jpswade (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dimarick-net-socket/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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