PHP code example of sunkeyys / qiniu-laravel-storage

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

    

sunkeyys / qiniu-laravel-storage example snippets


QINIU_DOMAIN=xxx.xxx.xxx.xxx.clouddn.com(不用加http://)
QINIU_ACCESS_KEY=xxx
QINIU_SECRET_KEY=xxx
QINIU_BUCKET=空间名称
config/app.php