PHP Package: spatie/laravel-google-cloud-storage

The spatie/laravel-google-cloud-storage PHP library provides seamless integration with Google Cloud Storage for Laravel applications, offering efficient file storage and retrieval capabilities.

Current Version: 2.3.4
Last Updated: 2025-03-13
PHP Requirement: ^8.0
Dependencies:
laravel/framework
google/cloud-storage
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The spatie/laravel-google-cloud-storage library enhances Laravel applications by enabling easy management of files in Google Cloud Storage. With this library, developers can effortlessly store and retrieve files, improving application performance and scalability. Enjoy seamless integration with Google Cloud Storage to streamline file handling processes within your Laravel projects.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.3.4

Download Download v2.3.4

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-google-cloud-storage/2.3.4/loader.php';
require_once 'libs/php/{lib_version}/loader.php';
require_once 'libs/laravel/framework/{lib_version}/loader.php';
require_once 'libs/google/cloud-storage/{lib_version}/loader.php';

use Spatie\GoogleCloudStorage\GoogleCloudStorageAdapter;

$obj = new GoogleCloudStorageAdapter();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.