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 2w 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 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

3198d 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://avatars.githubusercontent.com/u/2605934?v=4)[dimarick](/maintainers/dimarick)[@dimarick](https://github.com/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

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25126.1M81](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.7k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M89](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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