scaffold_ui 1.0.0 scaffold_ui: ^1.0.0 copied to clipboard
Authentication package for Flutter. Scaffold Supabase, Firebase, Laravel, and more.
Scaffold UI #
Scaffolds an authentication UI in your Nylo project.
Getting Started #
In your Flutter project add the dependency:
With Dart:
dart pub add scaffold_ui
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
...
scaffold_ui: ^1.0.0
Usage #
Step 1: Run the below command in your project.
dart run scaffold_ui:main auth
Select from the following options:
- Supabase -
supabase
- Laravel -
laravel
- Basic -
basic
Supabase Installation #
You'll first need a Supabase account and a project setup.
After you run dart run scaffold_ui:main auth
and select supabase
, you'll be prompted to enter your Supabase URL and Anon Key.
Laravel Installation #
You'll first need a Laravel project setup.
You're User
model should be using the HasApiTokens
trait (Laravel Sanctum).
Next, you'll need to install the Laravel composer package laravel-nylo-auth.
You can install the package via composer:
composer require nylo/laravel-nylo-auth
You can publish with:
php artisan vendor:publish --provider="Nylo\LaravelNyloAuth\LaravelNyloAuthServiceProvider"
Now, run dart run scaffold_ui:main auth
and select laravel
.
It will ask you for your Laravel project URL.
Check out the Laravel package here for more information.
Changelog #
Please see CHANGELOG for more information what has changed recently.
Licence #
The MIT License (MIT). Please view the License File for more information.