PHPackages                             remisirdata/l5-google-cloud-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. remisirdata/l5-google-cloud-storage

ActiveLibrary[File &amp; Storage](/categories/file-storage)

remisirdata/l5-google-cloud-storage
===================================

Laravel 5 Flysystem Google Cloud Storage Service Provider

2.1.1(10y ago)02021MITPHP

Since Nov 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/RemiSirdata/l5-google-cloud-storage)[ Packagist](https://packagist.org/packages/remisirdata/l5-google-cloud-storage)[ Docs](https://github.com/RemiSirdata/l5-google-cloud-storage)[ RSS](/packages/remisirdata-l5-google-cloud-storage/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (3)Dependencies (2)Versions (9)Used By (0)

Google Cloud Storage ServiceProvider for Laravel 5 Apps
=======================================================

[](#google-cloud-storage-serviceprovider-for-laravel-5-apps)

[![Latest Stable Version](https://camo.githubusercontent.com/ddc125ddeb31137256490a699a33a4c3df58e5ad7570f2ebf2385da53070f462/68747470733a2f2f706f7365722e707567782e6f72672f72656d69736972646174612f6c352d676f6f676c652d636c6f75642d73746f726167652f762f737461626c65)](https://packagist.org/packages/websight/l5-google-cloud-storage) [![Total Downloads](https://camo.githubusercontent.com/d357094d3427a90bbc78f939fdbb2ad676cf0d2f4639d7f7f9966fd8045d5c29/68747470733a2f2f706f7365722e707567782e6f72672f72656d69736972646174612f6c352d676f6f676c652d636c6f75642d73746f726167652f646f776e6c6f616473)](https://packagist.org/packages/websight/l5-google-cloud-storage) [![Latest Unstable Version](https://camo.githubusercontent.com/a8832b4d62ec5ea5e39a95a5cc0495439769bf55cf9566e01f8516509d2581df/68747470733a2f2f706f7365722e707567782e6f72672f72656d69736972646174612f6c352d676f6f676c652d636c6f75642d73746f726167652f762f756e737461626c65)](https://packagist.org/packages/websight/l5-google-cloud-storage) [![License](https://camo.githubusercontent.com/29660213603d5da626c1e0e210c2f0dae8e61ccae58da12c7a0c11aa00ce3e79/68747470733a2f2f706f7365722e707567782e6f72672f72656d69736972646174612f6c352d676f6f676c652d636c6f75642d73746f726167652f6c6963656e7365)](https://packagist.org/packages/websight/l5-google-cloud-storage)

Wraps [superbalist/flysystem-google-storage](https://github.com/Superbalist/flysystem-google-storage) in a Laravel 5 / 5.1 compatible Service Provider.

Configuration
-------------

[](#configuration)

1. Obtain the p12 certificate of a dedicated CloudPlatform Service Account
2. Add the service provider to your application in `config/app.php`

    ```
    Websight\GcsProvider\CloudStorageServiceProvider::class,
    ```
3. Add a disk to config/filesystems.php

    ```
    'gcs' => [
        // Select the Google Cloud Storage Disk
        'driver'                               => 'gcs',
        // The id of your new service account
        'service_account'                      => 'service@account.iam.gserviceaccount.com',
        // The location of the json service account file
        'service_account_json'          => storage_path() . '/service_account.json',
        // The bucket you want this disk to point at (To change with your bucket name)
        'bucket'                               => 'cloud-storage-bucket',
    ],
    ```

Usage
-----

[](#usage)

Use it like any other Flysystem Adapter with the `Storage`-Facade.

```
// Put a private file on the 'gcs' disk which is a Google Cloud Storage bucket
Storage::disk('gcs')->put('test.png', file_get_contents(storage_path('/app/test.png')));

// Put a public-accessible file on the 'gcs' disk which is a Google Cloud Storage bucket
Storage::disk('gcs')->put(
    'test-public.png',
    file_get_contents(storage_path('/app/test-public.png')),
    \Illuminate\Contracts\Filesystem\Filesystem::VISIBILITY_PUBLIC
);

// Retrieve a file
$file = Storage::disk('gcs')->get('test.png');
```

License (MIT)
-------------

[](#license-mit)

Copyright (c) 2016 websight GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~32 days

Recently: every ~39 days

Total

7

Last Release

3675d ago

Major Versions

1.0.3 → 2.02016-06-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2510200?v=4)[Remi Demol](/maintainers/RemiSirdata)[@RemiSirdata](https://github.com/RemiSirdata)

---

Top Contributors

[![cedricziel](https://avatars.githubusercontent.com/u/418970?v=4)](https://github.com/cedricziel "cedricziel (10 commits)")[![RemiSirdata](https://avatars.githubusercontent.com/u/2510200?v=4)](https://github.com/RemiSirdata "RemiSirdata (6 commits)")

---

Tags

Flysystemlaravellaravel5

### Embed Badge

![Health badge](/badges/remisirdata-l5-google-cloud-storage/health.svg)

```
[![Health](https://phpackages.com/badges/remisirdata-l5-google-cloud-storage/health.svg)](https://phpackages.com/packages/remisirdata-l5-google-cloud-storage)
```

###  Alternatives

[websight/l5-google-cloud-storage

Laravel 5 Flysystem Google Cloud Storage Service Provider

3662.5k](/packages/websight-l5-google-cloud-storage)[sausin/laravel-ovh

OVH Object Storage driver for laravel

45159.3k](/packages/sausin-laravel-ovh)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

1212.0k](/packages/zing-laravel-flysystem-obs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
