2017-04-05 03:46:16 +02:00
|
|
|
# php-libtgvoip
|
|
|
|
|
2017-07-23 17:49:47 +02:00
|
|
|
Licensed under AGPLV3, created by Daniil Gentili.
|
2017-04-05 03:46:16 +02:00
|
|
|
|
|
|
|
This is a PHP extension that wraps the [telegram VoIP library](https://github.com/grishka/libtgvoip), created using php-cpp.
|
|
|
|
|
2017-07-23 17:49:47 +02:00
|
|
|
Installation:
|
|
|
|
|
2017-08-16 15:47:23 +02:00
|
|
|
Install the libopus headers (libopus-dev), binutils (binutils-dev), openssl headers and the php-cpp headers.
|
2017-08-16 15:49:31 +02:00
|
|
|
Then clone this repository recursively and run `make && sudo make install`
|
|
|
|
|
|
|
|
On Ubuntu/debian/any debian-based distro:
|
|
|
|
|
2017-07-23 17:49:47 +02:00
|
|
|
|
2017-08-16 15:47:23 +02:00
|
|
|
```
|
|
|
|
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
|
2017-08-16 15:49:31 +02:00
|
|
|
cd ..
|
|
|
|
git clone --recursive https://github.com/danog/php-libtgvoip
|
|
|
|
cd php-libtgvoip
|
|
|
|
make -j$(nproc)
|
|
|
|
sudo make install
|
2017-08-16 15:47:23 +02:00
|
|
|
```
|
|
|
|
|
2017-08-16 15:49:31 +02:00
|
|
|
|
2017-06-25 13:12:36 +02:00
|
|
|
|
2017-04-05 03:46:16 +02:00
|
|
|
|