PHP code example of yiui / fadada
1. Go to this page and download the library: Download yiui/fadada 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/ */
yiui / fadada example snippets
/**
namespace common\components;
use yiui\fadada\FddServer;
/**
*
* 法大大接口继承,
*
**/
class Fadada extends FddServer
{
public $appId;
public $appSecret;
public $host;
public function __construct()
{
$this->appId = "";
$this->appSecret = "";
$this->host = '';
parent::__construct($this->appId, $this->appSecret, $this->host);
}
}
***/