Skip to content

Auth scaffolding for laravel/fortify using windmill-dashboard assets

License

Notifications You must be signed in to change notification settings

SteelHeart/fortify-windmill

 
 

Repository files navigation

UI For Laravel Fortify Using Windmill Dashboard

License Release Total Downloads

Auth scaffolding for laravel/fortify using Windmill-Dashboard assets.

Note

We recommend installing this package on a project that you are starting from scratch.

IF you want to use laravel/ui check this repo kamona/laravel-windmill-presets .

Usage

  1. Fresh install Laravel >= 8.0 and cd to your app.

  2. Install this preset via composer require kamona/fortify-windmill. Laravel will automatically discover this package. No need to register the service provider, And also no need to install laravel/fortify it will be installed automatically.

  3. Use php artisan fortmill:install. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries in routes/web.php and run npm install && npm run dev)

  4. Configure your favorite database (mysql, sqlite etc.)

  5. Run php artisan migrate.

  6. npm install && npm run dev

  7. php artisan serve

Note

All Fortify features are enabled by default except email verification. To enable it edit your Models/User.php model

use Illuminate\Contracts\Auth\MustVerifyEmail;

class User extends Authenticatable implements MustVerifyEmail
{
   // ....
}

Uncomment this line in app/Providers/FortifyWindmillServiceProvider.php.

public function boot()
    {
        // ...

        Fortify::verifyEmailView(function () {
            return view('auth.verify-email');
        });

        // ....
    }

Uncomment this line in config/fortify.php.

'features' => [
        // ...
        Features::emailVerification(),
        // ...
    ],

Enable, Disable feature

See laravel/fortify docs. and don't forget to disable, enable views in app/Providers/FortifyWindmillServiceProvider.php

Edit views

Sidebar links views/partials/sidebar/sidebar-content.blade.php.

Sidebar header views/partials/sidebar/sidebar-header.blade.php.

Sidebar footer views/partials/sidebar/sidebar-footer.blade.php.

Navbar right links views/partials/navbar/navbar-links.blade.php.

Layouts views/layouts.

Profile views/profile/edit.blade.php.

Dashboard views/home.blade.php

Side note

I know my English is horrible so please forgive me. I hope you will understand what I want to say in this read me file.

Screenshots

Light Dark
Welcome Light Welcome Dark
Login Light Login Dark
Dashboard Light Dashboard Dark
Profile Light Profile Dark
Profile Light Profile Dark
Profile Light Profile Dark

About

Auth scaffolding for laravel/fortify using windmill-dashboard assets

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Blade 74.9%
  • PHP 14.7%
  • JavaScript 10.3%
  • CSS 0.1%