Outsource Laravel Development Partner - $3200/Month | Bacancy

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.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Ui Related Articles

Nimbus: An In-Browser API Testing Playground for Laravel image

Nimbus: An In-Browser API Testing Playground for Laravel

Read article
Why Your Livewire Dashboard Jumps (And How to Fix It) - Laravel In Practice EP18 image

Why Your Livewire Dashboard Jumps (And How to Fix It) - Laravel In Practice EP18

Read article
Statamic 6 Is Officially Released image

Statamic 6 Is Officially Released

Read article
Laravel Debugbar v4.0.0 is released image

Laravel Debugbar v4.0.0 is released

Read article
Going Real-Time with Reverb - Laravel In Practice EP17 image

Going Real-Time with Reverb - Laravel In Practice EP17

Read article
PHP DebugBar v3 is released image

PHP DebugBar v3 is released

Read article
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
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
Lucky Media logo

Lucky Media

Get Lucky Now - the ideal choice for Laravel Development, with over a decade of experience!

Lucky Media
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
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