laravel/ui
Legacy Laravel package that adds Bootstrap, Vue, or React frontend scaffolding and simple auth (login/registration) via Artisan (php artisan ui ... --auth). Works with modern Laravel, but Breeze or Jetstream are recommended for new apps.
laravel/ui is a lightweight, opinionated scaffolding tool for Laravel applications, primarily designed to accelerate frontend setup (Bootstrap, Vue, or React) and authentication flows. It aligns well with monolithic Laravel applications where rapid UI prototyping is prioritized over microservices or decoupled architectures.php artisan ui:preset).--auth flag) is functional but may not align with modern security standards (e.g., OAuth2, multi-factor auth) without customization.laravel/ui if deprecated?laravel/ui scaffolding.laravel/ui with the --auth flag.login.blade.php, register.blade.php) while preserving existing UI.npm run dev/npm run build in CI/CD).node_modules for asset compilation.users, password_resets); custom tables may need manual mapping.vite.config.js).composer require laravel/ui
npm install
php artisan ui bootstrap --auth).vite.config.js for custom asset paths/aliases..env for auth drivers (e.g., SESSION_DRIVER=file).npm run dev to verify frontend assets.AuthenticatesUsers) may need customization for complex workflows.npm run dev -- --debug.storage/logs/laravel.log) and Blade template syntax.users table) match Laravel’s expectations./login) should be rate-limited.npm run build in CI/CD to generate production-ready assets.php artisan cache:clear) and Vite’s cache for faster builds.| Risk | Impact | Mitigation |
|---|---|---|
| Node.js version conflict | Build failures | Pin Node.js version in .nvmrc or Dockerfile. |
| Vite configuration errors | Broken frontend assets | Test npm run dev locally before deployment. |
| Bootstrap CSS conflicts | Styling regressions | Use SASS variables to override defaults. |
| Auth logic gaps | Incomplete registration/login flows | Extend controllers (e.g., RegisterController). |
| Dependency vulnerabilities | Security risks (e.g., Bootstrap) | Audit package.json with npm audit. |
How can I help you explore Laravel packages today?