Download the PHP package taknone/phptgcalls without Composer

On this page you can find all versions of the php package taknone/phptgcalls. 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 phptgcalls

PHP Extension Powered By Rust Telegram Calls

TgCalls PHP Extension

โšก A blazing-fast PHP extension powered by Rust for Telegram voice/video calls โšก

Stars Forks License Last Commit PHP 8.4+ Rust 1.96.0+


๐ŸŽฏ What is PhpTgCalls ?

PhpTgCalls is a native PHP extension built with Rust that brings Telegram voice & video calling capabilities directly into PHP. It wraps the powerful NTgCalls C++ library, providing a clean, object-oriented PHP API

It integrates seamlessly with LiveProto โ€” the async, pure-PHP MTProto Telegram client โ€” enabling you to join group calls, stream audio/video, and handle Telegram VoIP entirely from PHP


โœจ Features

Category Feature
๐ŸŽ™๏ธ Core Join group calls ( voice & video )
๐ŸŽฅ Media Stream audio/video with H.264, VP8, VP9, AV1, Opus, AAC, MP3
๐Ÿ“บ Screen Screen sharing & presentation mode
๐Ÿ”„ Async Fully asynchronous โ€” built for Fibers & Swoole
๐Ÿ” Crypto DH key exchange, encryption params, signaling
๐Ÿ“ก Events Stream, connection, upgrade, frame, and signaling event streams
โšก Performance Rust-powered native code, minimal overhead
๐Ÿงฉ Ecosystem First-class LiveProto integration

๐Ÿ—๏ธ Architecture


๐Ÿ“ฆ Installation

Prerequisites


Using Composer

[!NOTE] Install the framework in your project :

[!NOTE] Then install the native extension :


From Source

[!NOTE] Clone the repository and install dependencies :


Extension Only

[!NOTE] If you already have the repository :


๐Ÿš€ Quick Start


๐Ÿ”— Integration with LiveProto

TgCalls is designed to work hand-in-hand with LiveProto :

LiveProto TgCalls
MTProto connection & auth VoIP call management
phone.joinGroupCall() TgcallsClient.create() + connect()
DH config retrieval TgcallsClient.init_exchange()
Signaling relay TgcallsClient.send_signaling_data()

[!IMPORTANT] LiveProto handles the MTProto layer ( Telegram API ), while TgCalls handles the WebRTC/VoIP layer. Together, they provide a complete Telegram calling solution in PHP


๐Ÿงช Examples


๐Ÿค Contributing

We love contributions ! Here's how to get started :

  1. Fork this repository
  2. Create a feature branch : git checkout -b feature/amazing-feature
  3. Commit your changes : git commit -m 'Add amazing feature'
  4. Push to the branch : git push origin feature/amazing-feature
  5. Open a Pull Request

๐Ÿ’ฌ Community

Join the phptgcalls ecosystem :

Platform Link
๐Ÿ’ฌ Telegram Chat PhpTgCallsChat
๐Ÿ› Bug Reports GitHub Issues

๐Ÿ“œ License

This project is licensed under the MIT License


All versions of phptgcalls with dependencies

PHP Build Version
Package Version
Requires php Version >=8.4
taknone/asyncio Version *
taknone/bootstrapper Version *
taknone/liveproto Version *
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 taknone/phptgcalls contains the following files

Loading the files please wait ...