1. Go to this page and download the library: Download sgenmi/eyaf library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sgenmi / eyaf example snippets
wget http://pecl.php.net/get/yaf-3.2.5.tgz
tar zxvf yaf-3.2.5.tgz
cd yaf-3.2.5
phpize [注意:phpize的路径,环境不同可能路径]
./configure --with-php-config=php-config [注意:php-config的路径,环境不同可能路径]
make && sudo make install