PHP code example of yeardley / yingyan
1. Go to this page and download the library: Download yeardley/yingyan 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/ */
yeardley / yingyan example snippets
use Yeardley\Yingyan\Yingyan;
$ak = '';
$service_id = '';
$entity_name = '车牌号';
$entity_desc = '描述';
$config = [
'ak' => $ak,
'service_id' => $service_id,
'entity_name' => $entity_name,
'entity_desc' => $entity_desc,
];
Yingyan::entity($config)->add();