PHPackages                             supabase/functions-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. supabase/functions-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

supabase/functions-php
======================

Supabase Edge Functions for PHP

v0.0.3(3y ago)111.9k—9.6%3[1 PRs](https://github.com/supabase-community/functions-php/pulls)1PHPCI failing

Since Apr 26Pushed 2y ago7 watchersCompare

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

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

Supabase `functions-php`
========================

[](#supabase-functions-php)

PHP Client library to interact with Supabase Edge Functions.

> **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
- Support for all Request / Response types

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

[](#quick-start-guide)

### Installing the module

[](#installing-the-module)

```
composer require supabase/functions-php
```

### Calling an Edge Function

[](#calling-an-edge-function)

```
use Supabase\Functions\FunctionsClient;

$client = new FunctionsClient($reference_id, $api_key);
$result = $client->invoke('hello-world');
```

### 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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.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 ~0 days

Total

3

Last Release

1119d 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 (37 commits)")[![adolfo1971](https://avatars.githubusercontent.com/u/14020458?v=4)](https://github.com/adolfo1971 "adolfo1971 (3 commits)")

---

Tags

functionssupabasefunctions-php

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[maciejczyzewski/bottomline

A full-on PHP manipulation utility belt that provides support for working with arrays, objects, and iterables; a lodash or underscore equivalent for PHP.

477631.4k10](/packages/maciejczyzewski-bottomline)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[illuminated/helper-functions

Laravel-specific and pure PHP Helper Functions.

107586.6k7](/packages/illuminated-helper-functions)[jawira/plantuml-encoding

PlantUML encoding functions

20561.9k9](/packages/jawira-plantuml-encoding)[me-io/php-lodash

A full-on PHP manipulation utility-belt that provides support for the usual functional.

38100.0k](/packages/me-io-php-lodash)

PHPackages © 2026

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