bilalbaraz/supabase-laravel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bilalbaraz/supabase-laravel

最新稳定版本:0.1.2

Composer 安装命令:

composer require bilalbaraz/supabase-laravel

包简介

Wrapper for Supabase

README 文档

README

License

Supabase Laravel

Laravel SDK for Supabase.

Installation

You can install the package via composer:

composer require bilalbaraz/supabase-laravel

Configure

You can publish configuration file with:

php artisan vendor:publish --tag=supabase-config

It creates the config file (config/supabase.php). You need to put credentials by using the followings.

SUPABASE_URL=<you can find the correct url on dashbard>
SUPABASE_ANON_KEY=<you can find the correct anon key on dashboard>

Usage

use Bilalbaraz\SupabaseLaravel\Database;

$database->select('yourTableName', '*');
$database->insert(
    'yourTableName',
    [
        ['column1' => 'value1', 'column2' => 'value2']
    ]
);
$database->delete(
    'yourTableName',
    [
        ['column1' => ['eq' => 'someValue']]
    ]
);

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 591
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-08-13