https://github.com/kamona-wd/fortify-bootstrap
Front-end scaffolding for laravel/fortify based on bootstrap
https://github.com/kamona-wd/fortify-bootstrap
Last synced: 3 months ago
JSON representation
Front-end scaffolding for laravel/fortify based on bootstrap
- Host: GitHub
- URL: https://github.com/kamona-wd/fortify-bootstrap
- Owner: Kamona-WD
- License: mit
- Created: 2020-10-27T18:52:33.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-04T11:43:44.000Z (over 3 years ago)
- Last Synced: 2025-03-25T04:23:34.385Z (4 months ago)
- Language: Blade
- Homepage:
- Size: 142 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fortify Bootstrap
Use laravel/ui front-end bootstrap scaffolding with laravel/fortify.
[](https://github.com/Kamona-WD/fortify-bootstrap/blob/master/LICENSE.md)
[](https://github.com/Kamona-WD/fortify-bootstrap/releases)
[](https://packagist.org/packages/kamona/fortify-bootstrap)## Note
We recommend installing this package on a project that you are starting from scratch.
## Usage
1. Fresh install Laravel >= 8.0 and `cd` to your app.
2. 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.3. 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`)
4. Configure your database.
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
```php
use Illuminate\Contracts\Auth\MustVerifyEmail;class User extends Authenticatable implements MustVerifyEmail
{
// ....
}
```Uncomment this line in `app/Providers/FortifyBootstrapServiceProvider.php`.
```php
public function boot()
{
// ...Fortify::verifyEmailView(function () {
return view('auth.verify-email');
});// ....
}
```Uncomment this line in `config/fortify.php`.
```php
'features' => [
// ...
Features::emailVerification(),
// ...
],
```## Enable, Disable feature
See [laravel/fortify](https://github.com/laravel/fortify#readme) docs. and don't forget to disable, enable views in `app/Providers/FortifyBootstrapServiceProvider.php`
## Edit views
Layouts `views/layouts`.
Profile `views/profile/edit.blade.php`.
## Screens
| Screens |
| --------------------------------------------- |
|  |
|  |
|  |
|  |
|  |