Download the PHP package tourze/shadowsocks-config-php without Composer
On this page you can find all versions of the php package tourze/shadowsocks-config-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package shadowsocks-config-php
Workerman Shadowsocks Config
中文
This package provides configuration classes for Shadowsocks services, supporting parsing and generating Shadowsocks configurations.
Features
- Support for loading configurations from JSON files
- Support for standard URI format (
ss://method:password@hostname:port#tag
) - Support for Base64 encoded URI format (
ss://BASE64-ENCODED-STRING-WITHOUT-PADDING#TAG
) - Support for SIP002 URI format (with plugin support)
- Support for SIP008 online configuration delivery
- Various configuration format conversions
Installation
Usage
Creating from JSON Config
Creating from Standard URI
Creating from Base64 Encoded URI
Using SIP002 URI Format
Using SIP008 Online Configuration
Direct Configuration Creation
Converting to Different Formats
SIP002 Specification
SIP002 defines a standard Shadowsocks URI format with plugin support:
- User info can be Base64URL encoded or plain text (which must be percent-encoded)
- For AEAD-2022 encryption methods, plain text user info must be used
- Plugin parameters use URL encoding
SIP008 Specification
SIP008 defines a standard JSON document format for online configuration sharing and delivery:
- The
version
andservers
fields are mandatory - Each server must have the fields:
id
,server
,server_port
,password
, andmethod
- Optional fields include
remarks
,plugin
, andplugin_opts
- Data usage fields
bytes_used
andbytes_remaining
are optional
License
The MIT License (MIT). Please see License File for more information.
References
All versions of shadowsocks-config-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
ext-filter Version *
ext-filter Version *
The package tourze/shadowsocks-config-php contains the following files
Loading the files please wait ....