Download the PHP package chengciming/tcp-port-mapping without Composer

On this page you can find all versions of the php package chengciming/tcp-port-mapping. 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 tcp-port-mapping

TcpPortMapping

这是一个使用workerman框架开发的,针对内网环境TCP端口映射到外网环境指定端口。

亲,有在应用的同学请给个星星,有星星表示有人应用,好持续更新维护代码。

环境假设

  1. 外网服务器:可运行PHP,映射后通过这台机访问。
  2. 内网服务器:可运行PHP,连接外网服务器做转发,或者与目标服务器同一台。
  3. 目标服务器:需要被映射到外网的服务器。

运行环境

  1. PHP >= 7.0
  2. Composer

快速下载

下载:

启动:

配置

公共配置:Config/Config.php

协议配置:Config/***Conf.php [Http、Https、Ssh等]

新增加协议

示例:telnet

配置:

内核文件(可复制Http.php):

启动命令

安装依赖:

客户端:

服务端:

运行过程

图


All versions of tcp-port-mapping with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
workerman/workerman Version ^3.5.22
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 chengciming/tcp-port-mapping contains the following files

Loading the files please wait ....