PHPackages                             galihlprakoso/flysystem-firebase-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. galihlprakoso/flysystem-firebase-storage

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

galihlprakoso/flysystem-firebase-storage
========================================

FlySystem Firebase Storage.

v1.0.3(1y ago)24.6k↓12.5%MITPHPPHP ^8.2

Since Sep 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/galihlprakoso/flysystem-firebase-storage)[ Packagist](https://packagist.org/packages/galihlprakoso/flysystem-firebase-storage)[ Fund](https://www.buymeacoffee.com/ghackdev)[ RSS](/packages/galihlprakoso-flysystem-firebase-storage/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (5)Used By (0)

Flysystem adapter for the Firebase Storage API
==============================================

[](#flysystem-adapter-for-the-firebase-storage-api)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a3e0381d81a37c67c7794669976c4e22a16754c2badbfff1d2a68525a96eced9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67616c69686c7072616b6f736f2f666c7973797374656d2d66697265626173652d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/galihlprakoso/flysystem-firebase-storage)[![Total Downloads](https://camo.githubusercontent.com/a5e783402871ae142146dd098fbf0864e57f2e46f9e6e7406392634a2f8e2349/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67616c69686c7072616b6f736f2f666c7973797374656d2d66697265626173652d73746f726167652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/galihlprakoso/flysystem-firebase-storage)

This package contains a [Flysystem](https://flysystem.thephpleague.com/) adapter for Firebase Storage.

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

[](#installation)

You can install the package via composer:

```
composer require galihlprakoso/flysystem-firebase-storage

```

Usage
-----

[](#usage)

### PHP Usage

[](#php-usage)

```
use galihlprakoso\Adapters\FirebaseStorageAdapter;
use Kreait\Firebase\Factory;

$factory = (new Factory())->withServiceAccount('');
$storageClient = $factory->createStorage();

$adapter = new FirebaseStorageAdapter($storageClient, '');

```

### Laravel Usage

[](#laravel-usage)

Define the config in your `filesystems.php` file.

```
[
  'disks' => [
    //... another configuration
    'firebase-storage' => [
        'driver' => 'firebase-storage',
        'service_account_json_name' => env('FIREBASE_STORAGE_SERVICE_ACCOUNT_JSON_NAME'),
        'bucket_name' => env('FIREBASE_STORAGE_BUCKET_NAME'),
    ],
  ]
]

```

Add this Storage extension in your Laravel's `AppServiceProvider.php` file, inside the `boot()` method:

```
Storage::extend('firebase-storage', function (Application $app, array $config) {
    $factory = (new Factory())->withServiceAccount(base_path('/' . $config['service_account_json_name']));
    $storageClient = $factory->createStorage();

    $adapter = new FirebaseStorageAdapter($storageClient, $config['bucket_name']);

    return new FilesystemAdapter(
        new Filesystem($adapter, $config),
        $adapter,
        $config
    );
});

```

Support My Work
---------------

[](#support-my-work)

 [ ![](https://github.com/galihlprakoso/logseq-plugin-assistseq-ai-assistant/raw/master/images/buymeacoffee.png) ](https://buymeacoffee.com/ghackdev)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~15 days

Total

4

Last Release

552d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16918033?v=4)[Galih Laras Prakoso](/maintainers/galihlprakoso)[@galihlprakoso](https://github.com/galihlprakoso)

---

Top Contributors

[![galihlprakoso-yourpay](https://avatars.githubusercontent.com/u/183357462?v=4)](https://github.com/galihlprakoso-yourpay "galihlprakoso-yourpay (8 commits)")[![galihlprakoso](https://avatars.githubusercontent.com/u/16918033?v=4)](https://github.com/galihlprakoso "galihlprakoso (6 commits)")

---

Tags

laravelphpFlysystemstoragefirebase

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/galihlprakoso-flysystem-firebase-storage/health.svg)

```
[![Health](https://phpackages.com/badges/galihlprakoso-flysystem-firebase-storage/health.svg)](https://phpackages.com/packages/galihlprakoso-flysystem-firebase-storage)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[league/flysystem-async-aws-s3

AsyncAws S3 filesystem adapter for Flysystem.

2610.5M31](/packages/league-flysystem-async-aws-s3)[nimbusoft/flysystem-openstack-swift

Flysystem adapter for OpenStack Swift

44774.4k6](/packages/nimbusoft-flysystem-openstack-swift)

PHPackages © 2026

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