Skip to content

v1.0.3

Compare
Choose a tag to compare
@CodeWithSushil CodeWithSushil released this 08 Sep 13:57

Supabase client for PHP

Release version: v1.0.3

Note
Remove the repeated function of cURL.
Rewrite again Functions class and optimized code base.
Next release we integrate Auth and Storage classes.

Docs

  • updated Docs as well.
<?php
// use Supabase\Supabase\Supabase;
use Supabase\Functions;

require_once("/vendor/autoload.php");

$url = $_ENV['SB_URL];
$api_key = $_ENV['SB_APIKEY'];

$client = new Functions($url, $api_key);
$data = $client->getAllData('users');
var_dump($data);
?>