mirror of
https://github.com/danog/php-libtgvoip.git
synced 2024-12-02 09:17:55 +01:00
31 lines
734 B
Markdown
31 lines
734 B
Markdown
# php-libtgvoip
|
|
|
|
Licensed under AGPLV3, created by Daniil Gentili.
|
|
|
|
This is a PHP extension that wraps the [telegram VoIP library](https://github.com/grishka/libtgvoip), created using php-cpp.
|
|
|
|
Installation:
|
|
|
|
Install the libopus headers (libopus-dev), binutils (binutils-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 binutils-dev libssl-dev
|
|
git clone https://github.com/CopernicaMarketingSoftware/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 -j$(nproc)
|
|
sudo make install
|
|
```
|
|
|
|
|
|
|
|
|