PHP code example of nomedia / laravel_admin_alioss_file_images
1. Go to this page and download the library: Download nomedia/laravel_admin_alioss_file_images 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/ */
nomedia / laravel_admin_alioss_file_images example snippets
return [
'OSS_ACCESS_ID' => '0I********Dx',
'OSS_ACCESS_KEY' => 'N*******************NT',
'OSS_ENDPOINT' => 'oss-cn-*****.aliyuncs.com',
'OSS_BUCKET' => '*******',
'OSS_HOST' => 'http://******.oss-cn-****.aliyuncs.com',
//前台显示域名
'OSS_URL' => 'http://********.oss-cn-*****.aliyuncs.com'
];