PHP code example of coreproc / laravel-minio-media-library-provider

1. Go to this page and download the library: Download coreproc/laravel-minio-media-library-provider 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/ */

    

coreproc / laravel-minio-media-library-provider example snippets


'url_generator' => \Coreproc\LaravelMinioMediaLibraryProvider\UrlGenerator::class,

return [
    'disks' => [
        ...
        'other-s3' => [
            'driver' => 's3',
            ...
            'is_minio' => false,
        ],
    ],
];
bash
php artisan vendor:publish --provider="Coreproc\LaravelMinioMediaLibraryProvider\MinioServiceProvider"