PHPackages                             vivianequinaia/flysystem-php - 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. vivianequinaia/flysystem-php

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

vivianequinaia/flysystem-php
============================

Arquivei Flysystem Adapters.

2.2.0(5y ago)25MITPHPPHP ^7.1.3

Since Feb 4Pushed 5y agoCompare

[ Source](https://github.com/vivianequinaia/flysystems-php)[ Packagist](https://packagist.org/packages/vivianequinaia/flysystem-php)[ RSS](/packages/vivianequinaia-flysystem-php/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (7)Versions (6)Used By (0)

arquivei/flysystems-php
=======================

[](#arquiveiflysystems-php)

Google Cloud Storage and Amazon S3 adapters for php.

This project is based-on League\\Flysystem \[\].

Installation
------------

[](#installation)

```
composer require arquivei/flysystem-php:1.0.0
```

How to use
----------

[](#how-to-use)

#### Using with Google Cloud Storage

[](#using-with-google-cloud-storage)

```
require_once ('vendor/autoload.php');

$gcsStorage = new \Arquivei\Flysystems\ArquiveiStorage\Adapters\GoogleCloudStorage(
    new \Google\Cloud\Storage\StorageClient([
        'projectId' => 'my-project',
        'keyFilePath' => './auth.json'
    ])
);

$gcsStorage->setBucket('my-bucket');

$gcsStorage->putObject('data', '2019/key/');
```

#### Using with Amazon Aws S3

[](#using-with-amazon-aws-s3)

```
$awsStorage = new \Arquivei\Flysystems\ArquiveiStorage\Adapters\AmazonAwsStorage(
    new \Aws\S3\S3Client([
        'key' => 'my-key',
        'secret' => 'my-secret',
        'region' => 'my-region',
        'version' => 'my-version'
    ])
);

$awsStorage->setBucket('my-bucket');

$awsStorage->putObject('data', '2019/key/');
```

#### Using with Laravel

[](#using-with-laravel)

The first step you need to do is register the service provider in app.php

```
'providers' => [
    Arquivei\Flysystems\GoogleCloudStorage\GoogleCloudStorageProvider::class,
]
```

Then, create the config in filesystem.php

```
'gcs' => [
    'driver' => 'gcs',
    'project_id' => env('GOOGLE_CLOUD_PROJECT_ID', 'your-project-id'),
    'key_file' => env('GOOGLE_CLOUD_KEY_FILE', null),
    'bucket' => env('GOOGLE_CLOUD_STORAGE_BUCKET', 'your-bucket'),
    'path_prefix' => env('GOOGLE_CLOUD_STORAGE_PATH_PREFIX', null),
    'storage_api_uri' => env('GOOGLE_CtestingLOUD_STORAGE_API_URI', null),
    'visibility' =>  env('GOOGLE_CLOUD_STORAGE_API_URI', 'private'),
],
```

You must need an adapter like:

```
class IlluminateStorageAdapter
{

    private $storage;

    public function __construct()
    {
        $client = \Storage::cloud()
            ->getDriver()
            ->getAdapter()
            ->getClient();

        if ($client instanceof StorageClient) {
            $this->storage = new GoogleCloudStorage($client);
        }

        if ($client instanceof S3Client) {
            $this->storage = new AmazonAwsStorage($client);
        }

        if((!$client instanceof StorageClient) && (!$client instanceof S3Client)){
            throw new StorageNotFoundException();
        }
    }

    public function setBucket(String $bucket) : IlluminateStorageAdapter
    {
        $this->storage->setBucket($bucket);
        return $this;
    }

    public function setBasePath(String $basePath) : IlluminateStorageAdapter
    {
        $this->storage->setBasePath($basePath);
        return $this;
    }

    public function getObjectAsync(array $keys): array
    {
        return $this->storage->getObjectAsync($keys);
    }

    public function putObject(String $data, String $key, String $acl = "private") : String
    {
        return $this->storage->putObject($data, $key, $acl);
    }
}
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~175 days

Total

4

Last Release

2127d ago

Major Versions

1.1.0 → 2.1.02020-01-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/84d6960852e8d79fa7f02ac55a9da333402da90dc032cd2a7f61e04d9a97f6a9?d=identicon)[vivianequinaia](/maintainers/vivianequinaia)

---

Top Contributors

[![esilvajr](https://avatars.githubusercontent.com/u/7405198?v=4)](https://github.com/esilvajr "esilvajr (4 commits)")[![vivianequinaia](https://avatars.githubusercontent.com/u/9675671?v=4)](https://github.com/vivianequinaia "vivianequinaia (3 commits)")[![AndreLazari](https://avatars.githubusercontent.com/u/10053606?v=4)](https://github.com/AndreLazari "AndreLazari (1 commits)")

---

Tags

Flysystemarquivei

### Embed Badge

![Health badge](/badges/vivianequinaia-flysystem-php/health.svg)

```
[![Health](https://phpackages.com/badges/vivianequinaia-flysystem-php/health.svg)](https://phpackages.com/packages/vivianequinaia-flysystem-php)
```

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[concrete5/core

Concrete core subtree split

19159.3k48](/packages/concrete5-core)[quix-labs/laravel-supabase-flysystem

Supabase Adapter for Laravel Flysystem Storage

169.9k](/packages/quix-labs-laravel-supabase-flysystem)[danhunsaker/laravel-flysystem-others

Automatically registers every third-party Flysystem adapter it recognizes as a Laravel Filesystem Driver.

2332.5k](/packages/danhunsaker-laravel-flysystem-others)[zing/laravel-flysystem-obs

Flysystem Adapter for OBS

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

PHPackages © 2026

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