ifeeline / shadowsocks
PHP Shadowsocks Client With Workerman or Swoole
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ifeeline/shadowsocks
Requires
- php: >=5.5.9
- workerman/workerman: ^3.5
This package is not auto-updated.
Last update: 2025-10-22 07:44:22 UTC
README
安装:
composer require ifeeline/shadowsocks
配置格式:
$config = [
'local_ip' => '127.0.0.1',
'local_port' => 1080,
'process_count' => 12,
'method' => 'aes-256-cfb',
'password' => '123456789',
'servers' => [
[
'ip' => '1.1.1.1',
'port' => 8388
],
[
'ip' => '2.2.2.2',
'port' => 8388
]
]
];
用法:
注:每次链接,会随机从$servers中选择一个SERVER进行链接。