```
composer req fangx/esign
```
```
php artisan vendor:publish --provider=\\Fangx\\ESign\\ESignServiceProvider
```
<?php
namespace App\Http\Controllers;
use Fangx\ESign\ESign;
class ESignController
{
public function index(ESign $esign)
{
// $esign->fileTemplate(); # 文件上传 API
// $esign->account();
// $esign->identityVerified();
// $esign->seal();
// $esign->sign();
}
}