zacksmash/clean-af

The skeleton application for the Laravel framework.

Installs: 27

Dependents: 0

Suggesters: 0

Security: 0

Stars: 17

Watchers: 0

Forks: 2

Open Issues: 0

Language:Vue

Type:project

v1.0.0 2025-08-27 01:18 UTC

This package is auto-updated.

Last update: 2025-08-27 01:23:23 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

  • 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.

Screenshots

Login Screen Dashboard Screen

Installation

Via Laravel Herd

One-click install a new application using this starter kit through Laravel Herd:

Install with Herd

Via the Laravel Installer

Create a new Laravel application using this starter kit through the official Laravel Installer:

laravel new my-app --using=zacksmash/clean-af

Configuration

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.

Email Verification

  • Visit app/Models/User.php and implement the MustVerifyEmail interface.
  • Visit app/Providers/FortifyServiceProvider.php and uncomment Fortify::verifyEmailView
  • Visit config/fortify.php and uncomment Features::emailVerification()
  • Visit resources/js/pages/auth/VerifyEmail.vue and uncomment the import

Two-Factor Authentication

  • Visit app/Models/User.php and use the TwoFactorAuthenticatable trait
  • Visit app/Providers/FortifyServiceProvider.php and uncomment Fortify::twoFactorChallengeView
  • Visit config/fortify.php and uncomment Features::twoFactorAuthentication()
  • Visit resources/js/pages/auth/TwoFactorChallenge.vue and uncomment the import
  • Visit resources/js/pages/settings/TwoFactorAuth.vue and uncomment the imports
  • Visit resources/js/pages/Dashboard.vue and uncomment the TwoFactorAuth import and component

Wayfinder Issues

If you run into Node error screens, you may need to compile the Wayfinder types again.

composer wayfinder

Other Helper Commands

Run ESLint

npm run lint

Run Pint

composer lint