PHP code example of ivanlulyf / bunnyphp-alioss

1. Go to this page and download the library: Download ivanlulyf/bunnyphp-alioss 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/ */

    

ivanlulyf / bunnyphp-alioss example snippets


"storage" => [
	"name" => "bunny.ali",
	"key" => "",            // replace to your oss key
	"secret" => "",         // replace to your oss secret
	"endpoint" => "",       // replace to your oss endpoint
	"bucket" => "",         // replace to your oss bucket
	"url" => ""             // replace to your oss access url
],