zacksmash/clean-af 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zacksmash/clean-af

最新稳定版本:v1.0.2

Composer 安装命令:

composer create-project zacksmash/clean-af

包简介

The skeleton application for the Laravel framework.

README 文档

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

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

统计信息

  • 总下载量: 40
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 17
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 17
  • Watchers: 0
  • Forks: 2
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-18