kamona / fortify-windmill
Auth scafolding for laravel/fortify
Installs: 351
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 2
Open Issues: 2
Language:Blade
Requires
- laravel/fortify: ^1.5
README
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
-
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
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
Screenshots
Light | Dark |
---|---|