Auth scaffolding for laravel/fortify using Windmill-Dashboard assets.
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 .
-
Fresh install Laravel >= 8.0 and
cd
to your app. -
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 installlaravel/fortify
it will be installed automatically. -
Use
php artisan fortmill:install
. (NOTE: If you run this command several times, be sure to clean up the duplicate Auth entries inroutes/web.php
and runnpm install && npm run dev
) -
Configure your favorite database (mysql, sqlite etc.)
-
Run
php artisan migrate
. -
npm install && npm run dev
-
php artisan serve
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(),
// ...
],
See laravel/fortify docs. and don't forget to disable, enable views in app/Providers/FortifyWindmillServiceProvider.php
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
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.
Light | Dark |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |