PHPackages                             supabase/storage-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. supabase/storage-php

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

supabase/storage-php
====================

Supabase Storage for PHP

v0.0.3(3y ago)319.3k↓18.5%10[6 issues](https://github.com/supabase-community/storage-php/issues)[2 PRs](https://github.com/supabase-community/storage-php/pulls)1PHPCI failing

Since Apr 26Pushed 2y ago7 watchersCompare

[ Source](https://github.com/supabase-community/storage-php)[ Packagist](https://packagist.org/packages/supabase/storage-php)[ Docs](https://github.com/supabase-community/storage-php)[ RSS](/packages/supabase-storage-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (1)

Supabase `storage-php`
======================

[](#supabase-storage-php)

PHP Client library to interact with Supabase Storage.

> **Note:** This repository is in Alpha and is not ready for production usage. API's will change as it progresses to initial release.

### TODO

[](#todo)

- Support for PHP 7.4
- Adjust response interface to be closer to `postgrest-php` so manual parsing of response payloads is not needed
- Running unit and integration tests together results in test failures

Quick Start Guide
-----------------

[](#quick-start-guide)

### Installing the module

[](#installing-the-module)

```
composer require supabase/storage-php
```

### Connecting to the storage backend

[](#connecting-to-the-storage-backend)

```
use Supabase\Storage;

include __DIR__.'/vendor/autoload.php';

use Supabase\Storage;

$client = new StorageClient('API_KEY', 'REFERENCE_ID');
```

### Examples

[](#examples)

@TODO - point to the examples directory

### Testing

[](#testing)

Setup the testing Env

```
cp .env.example tests/.env

```

#### For the `REFERENCE_ID`

[](#for-the-reference_id)

Once signed on to the dashboard, navigate to, Project &gt;&gt; Project Settings &gt;&gt; General settings. Copy the Reference ID for use in the `.env`.

#### For the `API_KEY`

[](#for-the-api_key)

Once signed on to the dashboard, navigate to, Project &gt;&gt; Project Settings &gt;&gt; API &gt;&gt; Project API keys. Choose either the `anon` `public` or the `service_role` key.

Populate the `tests/.env` to include `REFERENCE_ID` and `API_KEY`.

#### Running all tests

[](#running-all-tests)

```
vendor/bin/phpunit

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 58.8% 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 ~1 days

Total

3

Last Release

1117d ago

### Community

Maintainers

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

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

![](https://www.gravatar.com/avatar/0aef0f5f4985165b7f3a2e682a5c2d055a40fabab11c5da3bd643c095f0d3a20?d=identicon)[zlcnorm](/maintainers/zlcnorm)

---

Top Contributors

[![tehnorm](https://avatars.githubusercontent.com/u/228909?v=4)](https://github.com/tehnorm "tehnorm (143 commits)")[![WichinRighetti](https://avatars.githubusercontent.com/u/104880921?v=4)](https://github.com/WichinRighetti "WichinRighetti (44 commits)")[![adolfo1971](https://avatars.githubusercontent.com/u/14020458?v=4)](https://github.com/adolfo1971 "adolfo1971 (43 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")[![Levet](https://avatars.githubusercontent.com/u/8355930?v=4)](https://github.com/Levet "Levet (4 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (4 commits)")

---

Tags

storagesupabasestorage-php

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/supabase-storage-php/health.svg)

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

###  Alternatives

[google/cloud

Google Cloud Client Library

1.2k16.2M53](/packages/google-cloud)[microsoft/azure-storage-common

This project provides a set of common code shared by Azure Storage Blob, Table, Queue and File PHP client libraries.

4316.8M6](/packages/microsoft-azure-storage-common)[azure-oss/storage

Azure Blob Storage PHP SDK

37985.0k5](/packages/azure-oss-storage)[gliterd/backblaze-b2

PHP SDK for working with backblaze B2 cloud storage.

84263.3k8](/packages/gliterd-backblaze-b2)[cwhite92/b2-sdk-php

A SDK for working with B2 cloud storage.

74146.6k2](/packages/cwhite92-b2-sdk-php)[bunnycdn/storage

PHP library to interact with the BunnyCDN Storage API.

8460.2k4](/packages/bunnycdn-storage)

PHPackages © 2026

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