- Minimal Tailwind styles, that can be completely removed in the app.css if you want.
- Uses Laravel Fortify to handle authentication, 2FA, etc.
- Uses Laravel Wayfinder for routing
- Intentially bare-bones so you can install whatever frontend you'd like without having to strip out existing components and structures.
One-click install a new application using this starter kit through Laravel Herd:
Create a new Laravel application using this starter kit through the official Laravel Installer:
laravel new my-app --using=zacksmash/clean-af
If you run into errors, you'll probably need to review the Laravel Fortify docs. This just a frontend starter kit, so nothing is configured for things like 2FA or Email Verification out of the box.
- Visit
app/Models/User.php
and implement theMustVerifyEmail
interface. - Visit
app/Providers/FortifyServiceProvider.php
and uncommentFortify::verifyEmailView
- Visit
config/fortify.php
and uncommentFeatures::emailVerification()
- Visit
resources/js/pages/auth/VerifyEmail.vue
and uncomment the import
- Visit
app/Models/User.php
and use theTwoFactorAuthenticatable
trait - Visit
app/Providers/FortifyServiceProvider.php
and uncommentFortify::twoFactorChallengeView
- Visit
config/fortify.php
and uncommentFeatures::twoFactorAuthentication()
- Visit
resources/js/pages/auth/TwoFactorChallenge.vue
and uncomment the import - Visit
resources/js/pages/settings/TwoFactorAuth.vue
and uncomment the imports
If you run into Node error screens, you may need to compile the Wayfinder types again.
composer wayfinder
Run ESLint
npm run lint
Run Pint
composer lint