Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Ui Laravel Package

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.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Accelerated MVP Development: Rapidly scaffold authentication (login, registration, password reset) and basic UI components (Bootstrap, Vue, or React) to reduce frontend development time by 30-50% for Laravel-based projects.
  • Tech Stack Standardization: Enforce consistency in frontend tooling (Vite, Bootstrap 5, modern JS frameworks) across teams, reducing onboarding friction and technical debt.
  • Build vs. Buy Decision: Justify using this package over custom builds for internal tools, SaaS prototypes, or admin dashboards where authentication is a core requirement but not a differentiator.
  • Roadmap Prioritization:
    • Phase 1: Use for authentication scaffolding in new Laravel projects (replacing manual Blade/JS setup).
    • Phase 2: Extend with custom presets (e.g., TailwindCSS, Alpine.js) via the macroable UiCommand system.
    • Phase 3: Deprecate in favor of Laravel Jetstream for B2C products requiring advanced features (two-factor auth, API tokens).
  • Use Cases:
    • Internal Tools: Admin panels, employee portals.
    • SaaS MVPs: Quickly iterate on user flows without frontend overhead.
    • Legacy Modernization: Add auth to existing Laravel apps with minimal refactoring.

When to Consider This Package

  • Adopt When:
    • Your team is new to Laravel/Vue/React and needs a battle-tested starting point.
    • You’re building a prototype or internal tool where speed > customization.
    • Your project requires Bootstrap 5 and aligns with Laravel’s default stack (Vite, Blade).
    • You need authentication scaffolding but lack frontend resources.
  • Look Elsewhere If:
    • You need custom UI components beyond Bootstrap (consider Tailwind UI or PrimeVue).
    • Your app requires advanced auth (e.g., social logins, magic links) → Use Laravel Fortify or Jetstream.
    • You’re using non-Laravel frontend frameworks (Next.js, Svelte) → Build custom or use Laravel Vapor for JAMstack.
    • Your team has dedicated frontend engineers who prefer framework-agnostic setups.
    • You need multi-tenancy or complex role-based access → Extend manually or use Spatie’s Laravel-Permission.
  • Red Flags:
    • The package is legacy (Laravel recommends Breeze or Jetstream for new projects).
    • High opportunity score (47.8) suggests limited extensibility for non-standard workflows.

How to Pitch It (Stakeholders)

For Executives:

"Laravel UI lets us ship authenticated user flows in hours, not weeks—critical for [MVP launch date] or [internal tool adoption]. It’s like using a pre-built Lego set for login screens, registration, and password resets, while keeping our backend in Laravel. This reduces frontend dev costs by ~40% and aligns with our tech stack (Bootstrap 5, Vue/React). For [Project X], it’ll cut our Q1 timeline by 2 weeks. After launch, we can customize or migrate to Jetstream if needed."

Key Metrics to Highlight:

  • Time Saved: 3–5 days per auth flow (vs. custom build).
  • Cost: Free (MIT license), no vendor lock-in.
  • Risk Mitigation: Backed by Laravel core team; used in 2.7K+ repos.

For Engineering:

*"This package gives us three levers for trade-offs:

  1. Speed: php artisan ui vue --auth generates login, registration, password reset, and email verification in one command—ready for Blade/Vue integration.
  2. Flexibility: Under the hood, it’s just Bootstrap 5 + Vite + Vue/React scaffolding. We can:
    • Swap Bootstrap for Tailwind by modifying app.scss.
    • Extend with custom presets (e.g., UiCommand::macro('tailwind')).
    • Drop Vue/React entirely if we prefer vanilla JS.
  3. Maintainability: Uses Laravel’s modern tooling (Vite, Blade) and avoids deprecated packages (e.g., Webpack Mix).

Trade-offs:

  • Not for custom UIs: If we need a unique design system, we’ll still need to override components.
  • Limited to Laravel: Tight coupling to Laravel’s auth system (e.g., AuthenticatesUsers trait).

Recommendation: Use this for auth scaffolding in new projects and pair it with our existing [Design System] for consistency. For [Project Y], we should evaluate Jetstream if we need teams/profiles."*

Tech Deep Dive:

  • What It Does:
    • Generates Blade templates (resources/views/auth/).
    • Sets up Vite for asset compilation (resources/js/app.js).
    • Configures Laravel’s auth controllers (app/Http/Controllers/Auth/).
    • Includes Vue/React components (if selected).
  • What It Doesn’t Do:
    • Handle API auth (use Laravel Sanctum/Passport instead).
    • Provide admin panels (combine with Laravel Nova or Filament).
    • Support headless setups (e.g., GraphQL frontends).
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope