PHP code example of akbaraditamasp / cloudpro-laravel-driver

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

    

akbaraditamasp / cloudpro-laravel-driver example snippets


'cloudpro' => [
    'driver' => 'cloudpro',
    'pro_box_token' => env('CLOUDPRO_BOX_TOKEN')
],

Strorage::disk('cloudpro')->put('avatars/1', $fileContents);
$request->file('file')->store();

$url = Storage::disk('cloudpro')->url('clixl14vw000zwjpgezi24c0r');
Storage::disk('cloudpro')->delete('clixl14vw000zwjpgezi24c0r');