PHP code example of vagh / laravel-upyun

1. Go to this page and download the library: Download vagh/laravel-upyun 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/ */

    

vagh / laravel-upyun example snippets


$ composer install vagh/laravel-upyun

'upyun' => [
    'driver' => 'upyun',
    // bucket 名称
    'bucket' => '',
    // 操作员用户名
    'operator_name' => '',
    // 操作员密码
    'operator_password' => '',
    // 资源域名
    'domain' => '',
    // 是否使用 https 协议 默认否
    'use_ssl' => true
],