1
0
mirror of https://github.com/danog/php-libtgvoip.git synced 2024-12-02 09:17:55 +01:00
php-libtgvoip/README.md

24 lines
1.0 KiB
Markdown
Raw Normal View History

2017-04-05 03:46:16 +02:00
# php-libtgvoip
2017-11-27 12:13:53 +01:00
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fdanog%2Fphp-libtgvoip.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fdanog%2Fphp-libtgvoip?ref=badge_shield)
2017-04-05 03:46:16 +02:00
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.
2018-04-08 18:21:30 +02:00
## Installation
2017-07-23 17:49:47 +02:00
2018-03-31 19:32:31 +02:00
Install the libopus headers (libopus-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
```
2019-12-26 22:14:43 +01:00
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
2017-08-16 15:47:23 +02:00
```
2018-04-08 18:21:00 +02:00
## Documentation
2017-08-16 15:49:31 +02:00
2018-04-08 18:21:00 +02:00
https://docs.madelineproto.xyz/docs/CALLS.html