Download the PHP package draidel/laravel-supabase-auth without Composer

On this page you can find all versions of the php package draidel/laravel-supabase-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-supabase-auth

Laravel Supabase Auth

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

An enterprise-grade Laravel package that completely replaces Laravel's native authentication system with Supabase authentication. Built with production-ready features including circuit breakers, rate limiting, comprehensive caching, monitoring, and advanced security.

โœจ Features

๐Ÿš€ Quick Start

Installation

Publish Configuration

Environment Setup

Add to your .env file:

Run Migrations

Validate Configuration

๐Ÿ“‹ Configuration

Basic Auth Configuration

Update your config/auth.php:

Enterprise Configuration

The package provides extensive configuration options in config/supabase-auth.php:

๐Ÿ’ก Usage Examples

User Registration

User Authentication

Working with Users

OAuth Authentication

Password Reset

Email Verification

๐Ÿ”’ Route Protection

Basic Middleware

Advanced Middleware

Guest-Only Routes

๐Ÿ› ๏ธ Management Commands

Validate Configuration

Test Connection

Cache Management

๐Ÿ“Š Monitoring & Observability

Health Checks

Circuit Breaker Status

Rate Limiting Info

๐Ÿ”ง Customization

Custom User Model

Create your own user model:

Update configuration:

Event Listeners

Listen to authentication events:

Custom Services

Extend or replace services by binding in your service provider:

๐Ÿงช Testing

Run Tests

Test Coverage

Code Quality

Testing in Your App

Mock the Supabase client in your tests:

๐Ÿ“š API Reference

SupabaseAuth Service

Available API Endpoints

Method Endpoint Description Auth Required
POST /auth/supabase/register User registration No
POST /auth/supabase/login User login No
POST /auth/supabase/logout User logout No
POST /auth/supabase/refresh Refresh access token No
GET /auth/supabase/user Get authenticated user Yes
POST /auth/supabase/password/reset Request password reset No
POST /auth/supabase/password/update Update password Yes
POST /auth/supabase/otp/verify Verify OTP No
POST /auth/supabase/otp/resend Resend OTP No
GET /auth/supabase/callback OAuth callback No

๐Ÿšจ Error Handling

The package provides specific exceptions:

๐Ÿ”ง Troubleshooting

Common Issues

  1. Configuration Validation Failed

  2. Connection Issues

  3. Cache Issues

  4. Circuit Breaker Open

Debug Mode

Enable debug logging:

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Make your changes and add tests
  4. Run the test suite: composer test
  5. Run code quality checks: composer analyse && composer format
  6. Commit your changes: git commit -m 'Add amazing feature'
  7. Push to the branch: git push origin feature/amazing-feature
  8. Submit a pull request

๐Ÿ“„ License

This package is open-sourced software licensed under the MIT license.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Support


Made with โค๏ธ by Draidel.com


All versions of laravel-supabase-auth with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
laravel/framework Version ^10.0|^11.0
guzzlehttp/guzzle Version ^7.5
firebase/php-jwt Version ^6.8
psr/log Version ^3.0
illuminate/cache Version ^10.0|^11.0
illuminate/validation Version ^10.0|^11.0
ramsey/uuid Version ^4.7
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package draidel/laravel-supabase-auth contains the following files

Loading the files please wait ...