mirror of
https://github.com/danog/php-libtgvoip.git
synced 2024-11-26 11:54:44 +01:00
.vscode | ||
libtgvoip@67adf97d15 | ||
_config.yml | ||
.gitignore | ||
.gitmodules | ||
CNAME | ||
libtgvoip.ini | ||
LICENSE | ||
main.cpp | ||
main.h | ||
Makefile | ||
README.md |
php-libtgvoip
Licensed under AGPLV3, created by Daniil Gentili.
This is a PHP extension that wraps the telegram VoIP library, created using php-cpp.
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 php$(echo "<?php echo PHP_MAJOR_VERSION.'.'.PHP_MINOR_VERSION;" | php)-dev && git clone https://github.com/danog/PHP-CPP && cd PHP-CPP && make -j$(nproc) && sudo make install && cd .. && git clone --recursive https://github.com/danog/php-libtgvoip && cd php-libtgvoip && make && sudo make install