scaffold_ui 1.1.7 copy "scaffold_ui: ^1.1.7" to clipboard
scaffold_ui: ^1.1.7 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.1.7

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.

Basic Installation #

If you select basic when running dart run scaffold_ui:main auth, it will scaffold a basic authentication UI.

You will need to implement the authentication logic yourself.

Changelog #

Please see CHANGELOG for more information what has changed recently.

Licence #

The MIT License (MIT). Please view the License File for more information.

1
likes
150
points
676
downloads
screenshot

Publisher

verified publishernylo.dev

Weekly Downloads

Authentication package for Flutter. Scaffold Supabase, Firebase, Laravel, and more.

Homepage
Repository (GitHub)
View/report issues

Topics

#scaffold-ui #laravel #supabase

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

args, dart_console, flutter, nylo_support

More

Packages that depend on scaffold_ui