PHPackages                             iclimber/laravel-supabase-flysystem - 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. iclimber/laravel-supabase-flysystem

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

iclimber/laravel-supabase-flysystem
===================================

Supabase Adapter for Laravel Flysystem Storage

1.0.1(1y ago)01.4kMITPHPPHP ^8.1

Since Sep 4Pushed 1y agoCompare

[ Source](https://github.com/IClimber/laravel-supabase-flysystem)[ Packagist](https://packagist.org/packages/iclimber/laravel-supabase-flysystem)[ Docs](https://github.com/quix-labs/laravel-supabase-flysystem)[ GitHub Sponsors](https://github.com/alancolant)[ RSS](/packages/iclimber-laravel-supabase-flysystem/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (16)Versions (2)Used By (0)

Laravel Supabase Storage Adapter
================================

[](#laravel-supabase-storage-adapter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0baeef7a36c59c8ed288370aad94108e20f10a16e2e9452d59e7d7205ff12ec8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f717569782d6c6162732f6c61726176656c2d73757061626173652d666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quix-labs/laravel-supabase-flysystem)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c06397e34d2fb8229211889ea6201c27f9e45ef8161a1c486632a6e07013d1a3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f717569782d6c6162732f6c61726176656c2d73757061626173652d666c7973797374656d2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/quix-labs/laravel-supabase-flysystem/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d9408689c56fe35f8626f6ef2025e42c25ec3e566775d12179ad97b981087047/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f717569782d6c6162732f6c61726176656c2d73757061626173652d666c7973797374656d2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/quix-labs/laravel-supabase-flysystem/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/9e99b98faade4a9ab4ec8e6b6f31a244cca1fe63b40551336becce9367925234/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f717569782d6c6162732f6c61726176656c2d73757061626173652d666c7973797374656d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/quix-labs/laravel-supabase-flysystem)

---

Easily integrate Supabase as a storage driver in Laravel with this Flysystem adapter.

Simplify file storage and retrieval using Laravel's convenient storage system while leveraging the powerful features of Supabase.

---

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Laravel 10.x|11.x
- Fileinfo `ext-fileinfo`

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

[](#installation)

To install the package, use Composer:

```
composer require quix-labs/laravel-supabase-flysystem
```

#### Configuration

[](#configuration)

After installation, configure the Supabase driver in Laravel's `config/filesystems.php`.

Add the following to the disks array:

```
'supabase' => [
    'driver' => 'supabase',
    'key'    => env('SUPABASE_STORAGE_KEY'), // Use a privileged key; read-only does not work
    'bucket' => env('SUPABASE_STORAGE_BUCKET'),
    'endpoint' => env('SUPABASE_STORAGE_ENDPOINT'),

    'url'      => null, //  true,  // Default to true
    'defaultUrlGeneration'        => null, // 'signed' | 'public'  [
        'download'  => false,
        'transform' => [],
    ],

    'signedUrlExpires' => 60*60*24, // 1 day put('file.txt', 'contents');

// Custom function to generate a public URL
Storage::disk('supabase')->getAdapter()->getPublicUrl('completelyPublicFile.png', [
    'download'  => false, // Set this to true if you want the user's browser to automatically trigger download

    // Transform only applied if the file is detected as an image; else ignored
    'transform' => [
        'width' => 200,
        //... All options -> https://supabase.com/docs/guides/storage/serving/image-transformations#transformation-options
    ]]);

// Custom function to generate a signed URL
Storage::disk('supabase')->getAdapter()->getSignedUrl('veryConfidentialFile.png', [
    'expiresIn' => 60 * 5, // 5 minutes
    //... Same options as getPublicUrl
]);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [COLANT Alan](https://github.com/alancolant)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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

Unknown

Total

1

Last Release

615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5cf6e5ec0d92a45387699b93e7b1ce3151603fc97f9b0f3f3c4088663c02bad?d=identicon)[IClimber](/maintainers/IClimber)

---

Top Contributors

[![alancolant](https://avatars.githubusercontent.com/u/19172637?v=4)](https://github.com/alancolant "alancolant (39 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![IClimber](https://avatars.githubusercontent.com/u/18194010?v=4)](https://github.com/IClimber "IClimber (2 commits)")

---

Tags

Flysystemlaravelsupabase

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/iclimber-laravel-supabase-flysystem/health.svg)

```
[![Health](https://phpackages.com/badges/iclimber-laravel-supabase-flysystem/health.svg)](https://phpackages.com/packages/iclimber-laravel-supabase-flysystem)
```

###  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)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[spatie/laravel-google-cloud-storage

Google Cloud Storage filesystem driver for Laravel

2408.9M13](/packages/spatie-laravel-google-cloud-storage)[quix-labs/laravel-supabase-flysystem

Supabase Adapter for Laravel Flysystem Storage

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

PHPackages © 2026

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