PHP code example of liou2021 / gcs
1. Go to this page and download the library: Download liou2021/gcs 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/ */
liou2021 / gcs example snippets
return[
'bucket'=>'your bucket name',
'key'=>'your gcp key'
];
return \GCS::allFiles();
return \GCS::Files('test/');
return \GCS::put($request->file, $path);
bash
php artisan vendor:publish --provider="Liou2021\Gcs\GCSServiceProvider"