PHP code example of exercisebook / laravel-storage-imagex

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

    

exercisebook / laravel-storage-imagex example snippets


       
            'imagex' => [
                'driver' => 'imagex',
   
                'region' => 'Region',             // 如:cn-north-1
                'access_key' => 'Access Key',
                'secret_key' => 'Secret Key',
                'service_id' => 'Service ID',
                'domain' => 'Binding Domain'      // 填写该图片服务所绑定的域名如 imagex.superexercisebook.com。推荐以 https:// 开头。该值用来拼接 url。
            ],
    
    

        ExerciseBook\Laravel\Storage\ImageX\Provider\ImageXServiceProvider::class,