PHP code example of gming / qiniu-oss-for-laravel
1. Go to this page and download the library: Download gming/qiniu-oss-for-laravel 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/ */
gming / qiniu-oss-for-laravel example snippets
Gming\QiniuOss\QiniuOssServiceProvider::class
use Gming\QiniuOss\Traits\QiniuOss;
class Example extends ExampleParent
{
use QiniuOss;
}
$this->uploadCertificate($fileUrl, $maxFileSize, $ttl = 3600, $customParam = '')
$this->fileInfo($fileUri, $fileName = '')
$this->fileBaseUrl()