PHPackages                             jocoon/socks5 - 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. jocoon/socks5

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

jocoon/socks5
=============

A simple SOCKS5 tcp client

1.0.1(6y ago)06.8k↓30.8%GPL-3.0+PHPPHP &gt;=5.4.0

Since Nov 28Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

SOCKS5
======

[](#socks5)

A PHP5 Library to make TCP connections via a SOCKS5 Proxy.

It will create a standard socket which can be used with the normal functions like fwrite(), fgets(), etc. Just be aware the connection is non-blocking.

Important Note
--------------

[](#important-note)

This library has been modified to use a blocking connection in contrast to the original library by weheartwebsites / Günter Grodotzki. By the way, this library has been tested up to PHP 7.2 and it works flawlessly.

Requirements
------------

[](#requirements)

- PHP5.4 or higher

Features
--------

[](#features)

- ability to set the outgoing interface (e.g. multi-ip environments)
- ability to tunnel DNS over the Proxy as well, or do DNS queries local
    - for example if the DNS server is trustable (like a local cache) it might be faster to do the DNS query directly than over the Proxy
- minimal requirements, created socket can be used transparently with PHP built in functions.
- for now, plaintext authentication implemented

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.5% 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 ~59 days

Total

2

Last Release

2304d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/33830725?v=4)[Kevin](/maintainers/KevinVonJocoon)[@KevinVonJocoon](https://github.com/KevinVonJocoon)

---

Top Contributors

[![KevinVonJocoon](https://avatars.githubusercontent.com/u/33830725?v=4)](https://github.com/KevinVonJocoon "KevinVonJocoon (6 commits)")[![lifeofguenter](https://avatars.githubusercontent.com/u/241073?v=4)](https://github.com/lifeofguenter "lifeofguenter (5 commits)")

---

Tags

clientproxytcpnetsocks5

### Embed Badge

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

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

###  Alternatives

[php-http/httplug

HTTPlug, the HTTP client abstraction for PHP

2.6k307.6M679](/packages/php-http-httplug)[php-http/discovery

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

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

Common HTTP Client implementations and tools for HTTPlug

1.1k225.5M571](/packages/php-http-client-common)[react/http

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

78026.4M414](/packages/react-http)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48819.2M541](/packages/nette-http)

PHPackages © 2026

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