Skip to content

codebysushil/supabase-php

Repository files navigation

Supabase PHP Client

Tests PHP Supabase

Latest Version Total Downloads License

Modern, lightweight, fluent Supabase client for PHP.


Features

  • Fluent Query Builder
  • Supabase REST API Support
  • Async Requests with Guzzle
  • Select, Insert, Update, Delete
  • Filters & Query Operators
  • Authentication Support
  • Typed PHP 8.4+ Codebase
  • PSR Standards
  • Promise-based Async Support
  • Easy Integration with Laravel & Vanilla PHP

Installation

Install via Composer:

composer require sushilk/supabase

Quick start

<?php

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

use Sushilk\Supabase\Client;
           
$client = new Client(
    'https://<project-id>.supabase.co',
    'apikey'
);

$result = $client->from('users')->select('name, email')->get();

var_dump($result);

Author

Sushil Kumar

About

Supabase PHP Client.

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Languages