Download the PHP package p1ratrulezzz/mtproxy-server-linux without Composer

On this page you can find all versions of the php package p1ratrulezzz/mtproxy-server-linux. 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 mtproxy-server-linux

MTProxy Server for Telegram clients

Latest Stable Version Latest Unstable Version

This is just a useful scripts for setting up your own mtprotocol proxy for telegram. Note: this proxy once created can be used by other users who you shared this proxy with and it doesn't give them access to your account, so its completely safe to use it and share with friends! Plus: Sponsored channels are coming. That means that your proxy can force your users to subscribe to some channel. This can be as a motivation to setup such a proxy.

Testing MTProto proxy servers

Python - HIGHLY RECOMMENDED!!!

Supports channel advertising, fully supports ipv6 and the easiest to installl!

Note: Requires to install python3 and python3-crypto packages via apt-get Installation of docker version: https://p1ratrulezzz.me/2018/06/eshhe-odin-variant-mtproto-proxy-s-reklamoj.html

Installation on CentOS (automatic): Check the tutorial in repo https://github.com/HirbodBehnam/MTProtoProxyCentOSInstall and don't forget to star.

Easy install on CentOS command

Installation on Ubuntu/Debian:

Repo: https://github.com/alexbers/mtprotoproxy (Star this repo and share with friends)

C (Official Telegram MTProxy)

Opinions: Difficult to install. Great use of resources, supports channel advertising, works stable if was successfully installed. Doesn't work on some servers expecially on servers located at Russia (even using VPN). I do not recommend to install unless you want to advertise your channel (in this case it's better to use Python version anyway).

Note: It is a very first version so it can be quite tricky to make it work, though it is possible. Also check my fork with tutorials here https://github.com/p1ratrulezzz/MTProxy-1 and here https://p1ratrulezzz.me/2018/06/creating-your-own-official-mtproto-proxy-with-channel-promotion-very-easy-way.html

Repo: https://github.com/TelegramMessenger/MTProxy

And yes. This server does have an ability to set promoted channel (check my forked repo and blogpost for tutorial)

Server #1: https://t-do.ru/proxy?server=hrushka.peppa.dns-cloud.net&port=587&secret=ddace63eff7aefb133be6e72f5f57d8382

PHP (this repo)

Note: there is an issue with Android clients. It's impossible to send messages. Desktop clients work great.

Pleae, test the servers above to gather statistics on CPU load and etc. Version 0.1.6 has an issue with creating a lot of zombie forks and killing the server completely. Set memory_limit to 32MB on your server per PHP script to save some resources.

NodeJS

Repo: https://github.com/FreedomPrevails/JSMTProxy

Note: if a lot of people are connected and uploading files, server will suffer from high CPU load

Java

Note: requires JRE 8 or JDK 8. On version 9 and higher won't work.

Repo: https://github.com/makkarpov/mtoxy

Before you start installation

Some VPS providers are blocking Telegram connections from their servers. Here is the list of these services and it will be filled in during some time, but for now there are already these ones:

Don't use these providers for your MTProto proxy server.

Installation

The initial daemon file is in https://github.com/danog/MadelineProto (don't forget to Star this repo)

Tutorial for Ubuntu 16.04 Server

  1. Loggining in via SSH to your VDS as root
  2. Install requirements

  3. Create mtproxy user

Note: password you set doesn't matter

  1. Download a package into /opt folder

bash cd /opt/mtproto-proxy chmod +x mtproxyd ./mtproxyd marcopolo 6666

cat secret.txt

38f75d6bb9f8138e53489cf1b7a132ec bash chown -R mtproxy:mtproxy /opt/mtproto-proxy bash wget -O /etc/init.d/mtproxy 'https://raw.githubusercontent.com/p1ratrulezzz/mtproxy-server-linux/master/etc/init.d/mtproxy' chmod +x /etc/init.d/mtproxy systemctl daemon-reload systemctl start mtproxy systemctl enable mtproxy bash systemctl start mtproxy

mtproxy.service - LSB: MTProxy service Loaded: loaded (/etc/init.d/mtproxy; bad; vendor preset: enabled) Active: active (running) since Thu 2018-05-17 21:55:08 UTC; 1 day 9h ago Docs: man:systemd-sysv-generator(8) Process: 16657 ExecStop=/etc/init.d/mtproxy stop (code=exited, status=0/SUCCESS) Process: 16752 ExecStart=/etc/init.d/mtproxy start (code=exited, status=0/SUCCESS) Tasks: 14 Memory: 55.3M CPU: 1min 14.837s CGroup: /system.slice/mtproxy.service

bash curl ipinfo.io/ip

ifconfig



## Other proxy server implementations

Check this account https://github.com/mtProtoProxy to see all the MTProto proxy implementations.

It is possible to use daemon script from this repo to integrate with any of these servers (except nodejs, for nodejs use pm2 upstart)

Java implementation: https://github.com/makkarpov/mtoxy

## Another version of installator for MTProxy (madeline driven)

Check the repo: https://github.com/aquigni/MTProxySystemd . It provides an easy-install shell script. It installs the same version of MTProto Proxy as provided in this [repo](https://github.com/danog/MadelineProto)

All versions of mtproxy-server-linux with dependencies

PHP Build Version
Package Version
Requires byjg/cache-engine Version 4.0.*
malkusch/lock Version ^1.1
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 p1ratrulezzz/mtproxy-server-linux contains the following files

Loading the files please wait ....