Polyscope - The agent-first dev environment for Laravel

Ui

laravel/ui image

Ui stats

Downloads
64.5M
Stars
2,294
Open Issues
0
Forks
447

View on GitHub →

Laravel UI utilities and presets.

Laravel UI Package Summary

Overview

Laravel UI is a straightforward package that offers basic frontend scaffolding primarily using Bootstrap, with support for Vue and React. It's designed to help kickstart the development of Laravel applications by providing an initial setup for authentication and frontend resources. While it supports the latest Laravel versions, it is recommended for legacy projects, with newer projects encouraged to explore Laravel Breeze or Laravel Jetstream.

Key Features

  • Frontend Scaffolding: Quick setup for Bootstrap, Vue, and React.
  • Authentication: Includes templates for login and registration functionalities.
  • Compatibility: Supports various versions of Laravel, from 5.8 up to the latest.
  • Integration with Vite: Uses Vite for compiling CSS and JavaScript, enhancing developer experience with fast build times.
  • Extensible: Allows adding custom methods via macros to the UiCommand class.

Installation and Usage

To install the package, run:

composer require laravel/ui

You can then generate scaffolding for Bootstrap, Vue, or React:

php artisan ui bootstrap
php artisan ui vue
php artisan ui react

For authentication scaffolding:

php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth

Frontend Development

CSS

Install frontend dependencies with NPM:

npm install

Compile SASS to CSS using Vite:

npm run dev

JavaScript

Install JavaScript dependencies:

npm install

Compile and bundle JavaScript using Vite:

npm run dev

Writing Components

Vue components (or React, if preferred) can be used and customized within your application. Components are easily integrated into Laravel Blade templates.

Additional Information

This package provides a simple yet effective way to scaffold and manage the frontend of a Laravel application, with legacy support and integration of modern tools like Vite for a seamless development experience.

laravel photo

Laravel is a web ecosystem full of delightful tools that are supercharged for developer happiness and productivity.


Laravel Ui Related Articles

Ship AI with Laravel: Building Your First Agent with Laravel 13's AI SDK image

Ship AI with Laravel: Building Your First Agent with Laravel 13's AI SDK

Read article
NativePHP v3.1: The Biggest Performance Leap Yet image

NativePHP v3.1: The Biggest Performance Leap Yet

Read article
Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0 image

Inertia v3 Upgrade Prompt and JSON Log Support in Laravel Boost v2.3.0

Read article
Filament through the years image

Filament through the years

Read article
Laravel Adds an Official Svelte + Inertia Starter Kit image

Laravel Adds an Official Svelte + Inertia Starter Kit

Read article
MongoDB Vector Search in Laravel: Finding the Unqueryable image

MongoDB Vector Search in Laravel: Finding the Unqueryable

Read article
Tinkerwell logo

Tinkerwell

The must-have code runner for Laravel developers. Tinker with AI, autocompletion and instant feedback on local and production environments.

Tinkerwell
PhpStorm logo

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Shift logo

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing