PHP code example of xiaobinqt / biao-qing-bao
1. Go to this page and download the library: Download xiaobinqt/biao-qing-bao 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/ */
xiaobinqt / biao-qing-bao example snippets
$keyWorks = "我艹";
$guzzleOptions = array(
'proxy' => [
'http' => '127.0.0.1:12639',
'https' => '127.0.0.1:12639'
]
);
$bqb = new \Xiaobinqt\BiaoQingBao\BiaoQingBao($keyWorks, $guzzleOptions);
$bqb->setNeedCount(1);
$bqb->setSuffix(array(
"gif"
));
$rs = $bqb->getEmojiList();
echo $rs;