Laravel UI

Bootstrap, Vue, and React front-end scaffolding for Laravel applications

Tool
Composer
vv4.6.3
2,725 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
65 /100 Good
Development Activity 28
Maintenance 48
Community 84
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
75 /100 Good
Architecture 78
Code Quality 75
Innovation 65
Learning Curve 80

Laravel UI is the official Composer package that provides Laravel’s legacy front-end scaffolding presets. A single php artisan ui command generates Bootstrap, Vue, or React starter assets, along with an optional --auth flag that scaffolds full login, registration, and password-reset views and controllers wired to Laravel’s authentication system.

While the Laravel documentation now points new projects toward Breeze or Jetstream for a more modern starting point, Laravel UI remains actively maintained for existing applications built on it and for developers who want the older, minimal Bootstrap/Vue/React scaffolding without a full starter-kit’s opinions.

What You Get

  • A php artisan ui {bootstrap|vue|react} command that copies preset-specific stubs into resources/js and resources/sass, and updates package.json
  • An --auth flag that additionally scaffolds login, registration, password-reset, and email-verification Blade views plus the matching auth routes and controllers
  • A macroable UiCommand class so custom presets (e.g. Next.js) can be registered via a service provider
  • A dedicated Laravel\Ui\Auth route/controller layer (AuthRouteMethods, ControllersCommand) separate from the presets themselves

Common Use Cases

  • Adding classic server-rendered Bootstrap authentication views to a fresh Laravel install
  • Scaffolding a minimal Vue or React starting point without adopting a full starter kit like Jetstream
  • Maintaining legacy Laravel applications originally built on Laravel UI’s auth scaffolding
  • Registering a custom scaffolding preset (e.g. a company’s internal frontend stack) via the macroable command

Under The Hood

Architecture — The package’s entry point is UiServiceProvider, which registers the ui Artisan command (UiCommand) and, when auth scaffolding is requested, the ui:auth command (AuthCommand) and ui:controllers command (ControllersCommand). UiCommand dispatches to one of three Presets\{Bootstrap,Vue,React} classes, each a thin static install() method that copies stub files from src/Presets/*-stubs and src/Auth/*-stubs into the consuming application’s resources/ tree and merges preset dependencies into package.json. The command is deliberately macroable (Command::macro), letting other packages or a project’s own service provider register additional presets at runtime without forking the package.

Tech Stack — Pure PHP built on Laravel’s illuminate/console, illuminate/filesystem, illuminate/validation, and illuminate/support components, plus Symfony Console for the command attribute API. It ships no bundled JavaScript framework itself — the Vue/React/Bootstrap dependencies it injects into package.json are resolved and built by the consuming app’s own Vite/npm toolchain, keeping the package’s own footprint small (composer.json requires only PHP ^8.0 and the four Illuminate components).

Code Quality — Tests live under tests/AuthBackend and run via PHPUnit against Orchestra Testbench (a Laravel package-testing harness), exercising the generated auth routes/controllers rather than just unit-testing isolated classes. Source files are compact, single-responsibility classes with full PHPDoc blocks on every public method, following Laravel’s own house style closely since the maintainers are the Laravel core team.

API Design — The entire developer-facing surface is one Artisan command (ui) with a type argument and --auth/--option flags — about as low-boilerplate as scaffolding tooling gets. The macro-based extension point (UiCommand::macro('nextjs', ...)) is a notably clean way to let third parties add presets without needing to fork or subclass the command.

Used by 10 apps in this directory

PHP
82%
Other

Akaunting

Invoicing Finance

10,149

Open-source online accounting for small businesses and freelancers — invoices, expenses, and reporting without monthly fees or vendor lock-in.

View details
98
Repo Health
73
Technical
63
Dependency
Built with
PHP 82%
Blade 13%
Updated 5 days ago
PHP
73%
MIT

Bagisto

Analytics · Ecommerce

28,186

Open-source Laravel eCommerce platform for building multi-vendor marketplaces, B2B stores, headless commerce, and AI-powered storefronts.

View details
93
Repo Health
75
Technical
67
Dependency
Built with
PHP 73%
Blade 21%
Updated 1 weeks ago
PHP
81%
Apache 2.0

Coolify

Devops · Hosting Control Panel

62,328

Open-source self-hosted PaaS — deploy apps, databases and 280+ services on your own servers with no vendor lock-in

View details
92
Repo Health
86
Technical
70
Dependency
Built with
PHP 81%
Blade 16%
Updated 5 days ago
PHP
48%
AGPL 3.0

Crater

Invoicing Finance

8,349

Open source invoicing and billing platform for freelancers and small businesses — create estimates, track expenses, accept Stripe payments, and run recurring invoices from your own server.

View details
54
Repo Health
68
Technical
68
Dependency
Built with
PHP 48%
Vue 40%
Updated 2 years ago
PHP
85%
Other

Invoice Ninja

Invoicing Finance · Project Management

10,123

Self-hostable invoicing, time-tracking, and multi-gateway payment platform for freelancers and small businesses, with built-in e-invoicing compliance for EU and global standards.

View details
97
Repo Health
83
Technical
62
Dependency
Built with
PHP 85%
Updated 1 weeks ago
PHP
51%
MIT

Krayin CRM

CRM · Ecommerce

23,954

Free, open-source Laravel & Vue.js CRM for SMEs and enterprises to manage the complete customer lifecycle.

View details
90
Repo Health
68
Technical
70
Dependency
Built with
PHP 51%
Blade 43%
Updated 1 weeks ago
PHP
63%
Other

OpnForm

Forms Surveys · Marketing

3,752

Build unlimited, embeddable forms with no code — powered by AI, logic rules, and real-time analytics

View details
90
Repo Health
75
Technical
68
Dependency
Built with
PHP 63%
Vue 29%
Updated 1 weeks ago
PHP
69%
AGPL 3.0

Pixelfed

Social Media

7,105

A decentralized, self-hosted photo sharing platform built on ActivityPub for the open Fediverse.

View details
91
Repo Health
68
Technical
65
Dependency
Built with
PHP 69%
Vue 22%
Updated 5 days ago
PHP
75%
MIT

SendPortal

Marketing

2,176

Self-hosted email marketing with full data control, multi-workspace isolation, and seamless integration with Amazon SES, SendGrid, Mailgun, and more

View details
47
Repo Health
59
Technical
72
Dependency
Built with
PHP 75%
Blade 25%
Updated 2 years ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers