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

  • Rapid MVP Development: Accelerates launch of authentication flows (login, registration, password reset) with pre-built UI scaffolding, reducing frontend development time by 30-50% for basic CRUD applications.
  • Tech Stack Alignment: Enables consistent adoption of Bootstrap (CSS), Vue/React (JS), and Vite (build tool) across teams, reducing fragmentation in frontend tooling.
  • Build vs. Buy Decision: Justifies not building custom auth UI for projects where out-of-the-box styling and functionality suffice (e.g., internal tools, SaaS prototypes).
  • Roadmap Prioritization:
    • Phase 1: Use laravel/ui for authentication scaffolding in new Laravel projects to unblock development.
    • Phase 2: Replace with Laravel Breeze/Jetstream for projects requiring advanced features (e.g., two-factor auth, team management).
    • Phase 3: Customize or extend presets (e.g., add TailwindCSS support) via service provider macros for brand consistency.
  • Use Cases:
    • Internal dashboards (admin panels, analytics tools).
    • SaaS prototypes needing quick user onboarding.
    • Legacy Laravel apps migrating to modern frontend tooling (Vite, Vue/React).
    • Educational projects where boilerplate reduction is critical.

When to Consider This Package

Adopt This Package If:

  • Your project requires basic authentication flows (login, registration, password reset) with minimal customization.
  • You’re using Laravel 9–13 and need Bootstrap + Vue/React + Vite scaffolding out-of-the-box.
  • Your team lacks frontend expertise, and you want to avoid reinventing auth UI wheels.
  • You prioritize developer velocity over highly customized designs (e.g., design systems already exist).
  • You’re building a prototype or MVP and plan to iterate on the frontend later.

Look Elsewhere If:

  • You need advanced features (e.g., API tokens, team management, two-factor auth) → Use Laravel Jetstream or Fortify.
  • Your design system requires TailwindCSS, Alpine.js, or Inertia.js → Use Laravel Breeze or Inertia scaffolding.
  • You’re building a highly customized UI (e.g., unique animations, complex components) → Build from scratch or use a design system framework.
  • Your project uses Laravel <9 → Use an older version of laravel/ui or migrate to a newer stack.
  • You need serverless or API-only auth → Use Laravel Sanctum or Passport.

How to Pitch It (Stakeholders)

For Executives:

"Laravel UI is a turnkey solution to scaffold authentication and frontend tooling in Laravel apps, cutting development time by 30–50% for basic user flows. It standardizes our stack on Bootstrap (CSS), Vue/React (JS), and Vite (build tool), reducing technical debt and onboarding friction for new hires. For projects where out-of-the-box styling suffices (e.g., internal tools, SaaS MVPs), this eliminates the need to build custom auth UIs from scratch—freeing engineers to focus on core business logic. We recommend adopting it for Phase 1 projects and migrating to Jetstream/Breeze later if advanced features are needed."

ROI Highlights:

  • Faster time-to-market for user-facing features.
  • Lower maintenance (backed by Laravel’s ecosystem).
  • Consistent branding via Bootstrap’s pre-styled components.

For Engineering Teams:

*"Laravel UI provides opinionated but flexible scaffolding for auth and frontend assets, leveraging modern tools like Vite for builds and Vue/React for interactivity. It’s ideal for:

  • Quick prototyping (e.g., php artisan ui vue --auth generates login/register pages in minutes).
  • Standardizing tech stacks (avoids ‘framework sprawl’ by defaulting to Bootstrap/Vue).
  • Extensibility (customize via vite.config.js, app.scss, or add presets via service providers).

Trade-offs:

  • Not for highly customized designs (e.g., unique animations, complex components).
  • Legacy package (officially deprecated in favor of Breeze/Jetstream, but still actively maintained for Laravel 9–13).

Recommendation: Use for new Laravel projects where you need auth scaffolding ASAP. For long-term projects, pair with Laravel Breeze (simpler) or Jetstream (feature-rich)."*

Key Commands to Know:

# Basic scaffolding
composer require laravel/ui
php artisan ui vue --auth  # Vue + auth
php artisan ui react       # React (no auth)
npm install && npm run dev # Compile assets
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.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata