1
0
mirror of https://github.com/danog/php-libtgvoip.git synced 2024-11-26 11:54:44 +01:00
Go to file
2022-05-04 17:20:22 +02:00
.vscode Update to support newest libtgvoip 2018-09-02 20:12:51 +02:00
libtgvoip@e6211103f0 Update submodule 2020-10-30 13:57:24 +01:00
_config.yml Set theme jekyll-theme-cayman 2017-08-16 16:00:38 +02:00
.gitignore Started working on custom audio modules 2017-06-18 18:32:20 +01:00
.gitmodules Support TCP by default 2018-03-27 14:01:55 +02:00
CNAME Create CNAME 2017-08-16 16:00:28 +02:00
libtgvoip.ini First commit 2017-04-05 03:46:16 +02:00
LICENSE First commit 2017-04-05 03:46:16 +02:00
main.cpp Bugfix 2020-03-17 16:32:35 +01:00
main.h Bugfix 2020-03-17 16:32:35 +01:00
Makefile Update Makefile 2022-05-04 17:18:36 +02:00
README.md Update README.md 2022-05-04 17:20:22 +02:00

php-libtgvoip

FOSSA Status

Licensed under AGPLV3, created by Daniil Gentili.

This is a PHP extension that wraps the telegram VoIP library, created using php-cpp.

Note: this is a legacy project based on the old libtgvoip library and supports only PHP 7.4, it will be eventually rewritten to make use of the new tgcalls library and PHP 8.0+ with FFI.

Installation

Install the libopus headers (libopus-dev), openssl headers and the php-cpp headers. Then clone this repository recursively and run make && sudo make install

On Ubuntu/debian/any debian-based distro:

sudo apt-get install libopus-dev libssl-dev build-essential php7.4-dev php7.4-cli && git clone https://github.com/copernicamarketingsoftware/PHP-CPP && cd PHP-CPP && sed 's/php-config/php-config7.4/g' -i Makefile && make -j$(nproc) && sudo make install && cd .. && git clone --recursive https://github.com/danog/php-libtgvoip && cd php-libtgvoip && make && sudo make install

Documentation

https://docs.madelineproto.xyz/docs/CALLS.html