Skip to content

danog/pif-tdpony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PIF-TDPony

This is a PHP interface for tdlib.

Installation

# Installing PHP
sudo apt-get install python-software-properties software-properties-common
sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php7.2 php7.2-dev php7.2-fpm php7.2-curl php7.2-xml php7.2-gmp php7.1-zip -y

# Installing tdlib
sudo apt-get install gperf cmake clang ninja-build libssl-dev
git clone https://github.com/tdlib/td
cd td
mkdir build
cd build
cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
sudo cmake --build . --target install
cd ../..

# Installing PHP-CPP
git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP
cd PHP-CPP
make -j$(nproc)
sudo make install
cd ..

# Installing PIF-TDPony
git clone https://github.com/danog/pif-tdpony
cd pif-tdpony
mkdir build
cd build
cmake ..
sudo cmake --build . --target install
cd ../../

Usage:

About

PHP interface for tdlib

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published