Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.59 KB

File metadata and controls

65 lines (43 loc) · 1.59 KB

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