Front-end scafolding for laravel/fortify based on bootstrap
kamona/fortify-bootstrap is a Laravel package for front-end scafolding for laravel/fortify based on bootstrap.
It currently has 6 GitHub stars and 12.541 downloads on Packagist (latest version v1.0.3).
Install it with composer require kamona/fortify-bootstrap.
Discover more Laravel packages by kamona
or browse all Laravel packages to compare alternatives.
Last updated
Use laravel/ui front-end bootstrap scaffolding with laravel/fortify.
We recommend installing this package on a project that you are starting from scratch.
Fresh install Laravel >= 8.0 and cd to your app.
Install this preset via composer require kamona/fortify-bootstrap. 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.
Use php artisan fortstrap: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)
Configure your database.
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/FortifyBootstrapServiceProvider.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/FortifyBootstrapServiceProvider.php
Layouts views/layouts.
Profile views/profile/edit.blade.php.
| Screens |
| --------------------------------------------- |
|
|
|
|
|
|
|
|
|
|