Download the PHP package clue/psocksd without Composer

On this page you can find all versions of the php package clue/psocksd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package psocksd

psocksd

The SOCKS tunnel / proxy server daemon written in PHP

Features

The SOCKS protocol family can be used to easily tunnel TCP connections independent of the actual application level protocol, such as HTTP, SMTP, IMAP, Telnet, etc. In this mode, a SOCKS server acts as a generic proxy allowing higher level application protocols to work through it.

Usage

Once installed, you can start psocksd and listen for incoming SOCKS connections by running:

Using this command, psocksd will start listening on the default adress localhost:9050.

Listen address

If you want to listen on another address, you can supply an explicit listen address like this:

Interactive CLI

By default, psocksd will run an interactive command line interface. This means that it keeps running in the foreground and accepts commands from STDIN.

You can pass the --no-interaction argument to disable this interactive mode so that it does not accept any commands from STDIN. The interactive mode is always disabled on Windows, because it's impossible to read from STDIN without blocking the whole daemon.

You can run the help command in order to see all available commands and their usage:

You can run the ping command in order to test creating a TCP/IP connection through the given SOCKS server:

You can run the exit or quit command (or hit CTRL+D or CTRL-C) in order to exit the program:

Client configuration

Once psocksd is started, it accepts incoming SOCKS client connections. Therefor, you have to configure your client program (webbrowser, email client etc.) to actually use the SOCKS server.

The exact configuration depends on your program, but quite a few programs allow you to use a SOCKS proxy. So depending on the above list address, supply the following information:

Install

You can grab a copy of clue/psocksd in either of the following ways.

As a phar (recommended)

You can simply download a pre-compiled and ready-to-use version as a Phar to any directory. Simply download the latest psocksd.phar file from our releases page:

Latest release

That's it already. You can now verify everything works by running this:

If you prefer a global (system-wide) installation without having to type the .phar extension each time, you may invoke:

You can verify everything works by running:

Updating phar

There's no separate update procedure, simply overwrite the existing phar with the new version downloaded.

Manual Installation from Source

The manual way to install psocksd is to clone (or download) this repository and use composer to download its dependencies. Obviously, for this to work, you'll need PHP, git and curl installed:

If you want to build the above mentioned psocksd.phar yourself, you have to install clue/phar-composer and can simply invoke:

Updating manually

If you have followed the above install instructions, you can update psocksd by issuing the following two commands:

Docker

This project is also available as a docker image. Using the clue/psocksd image is as easy as running this:

License

MIT-licensed


All versions of psocksd with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3
clue/socks-react Version ^0.4
clue/connection-manager-extra Version ^0.3
react/event-loop Version ^0.4 || ^0.3
react/socket Version ^0.4 || ^0.3
react/socket-client Version ^0.5 || ^0.4
react/dns Version ^0.4 || ^0.3
react/stream Version ^0.4 || 0.3
clue/arguments Version ^1.0
clue/commander Version ^1.2
clue/stdio-react Version ^0.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package clue/psocksd contains the following files

Loading the files please wait ....