Modern Laravel starter pack with Flux UI Pro v2 and Livewire 4
Wirement is a bloat-free starter kit for quickly launching Laravel 12 projects. It comes with Flux UI Pro v2 and Livewire 4 pre-configured, plus essential tools to speed up your development—nothing more, nothing unnecessary.
- Flux UI Pro v2 - Modern, Apple-inspired component library (requires license)
- Tailwind CSS 4.0 - Utility-first CSS framework
- Hero Icons - Beautiful, customizable icons
- Alpine.js - Lightweight JavaScript framework (included with Livewire)
- Laravel 12 - Latest PHP framework
- Livewire 4 - Dynamic full-stack components
- SQLite - Zero-config database (swap to MySQL/Postgres as needed)
- Authentication - Login with Flux UI components
- Admin Panel - Livewire-based user management at
/admin - Flux UI Components - Beautiful UI components throughout
- Database Seeding - Default admin user
- Asset Pipeline - Vite with Tailwind CSS
- Code Quality - Laravel Pint, PHPStan, Rector, Pest testing
- PHP 8.3+
- Composer
- Node.js & npm
- Laravel Herd (recommended)
- Clone the repository
git clone https://github.com/kwhorne/wirement.git
cd wirement- Install dependencies
composer install
npm install- Environment setup
cp .env.example .env
php artisan key:generate- Database setup
php artisan migrate --seed- Build assets
npm run build- Start development server
composer run dev
# or use Laravel Herdwirement/
├── app/
│ ├── Livewire/
│ │ ├── Auth/ # Login component
│ │ └── Admin/Users/ # User CRUD components
│ ├── Models/ # Eloquent models
│ └── Http/
│ └── Requests/ # Form request validation
├── resources/
│ └── views/
│ ├── layouts/ # Admin and guest layouts
│ └── livewire/ # Livewire component views
├── database/
│ ├── migrations/ # Database migrations
│ └── seeders/ # Database seeders
└── routes/ # Application routes
- Public Site:
http://wirement.test - Admin Panel:
http://wirement.test/admin - Login:
http://wirement.test/login
Import icons using the built-in Artisan command:
php artisan flux:icon crown grip-vertical githubWirement includes convenient composer commands:
composer review # Run Pint, Rector, PHPStan, and Pest
composer test # Run Pest test suite
composer pint # Fix code style with Pint
composer dev # Start all dev services concurrentlyFor development purposes, a default admin user is created:
- Email:
admin@example.com - Password:
password
Security Note: Change the default password before deploying to production.
php artisan migrate:fresh --seednpm run dev # Development mode with HMR
npm run build # Production buildphp artisan test # Run all tests
php artisan test --compact # Compact output- laravel/framework:
^12.0 - livewire/livewire:
^4.0 - livewire/flux-pro:
^2.2(requires license) - tailwindcss:
^4.0
Before deploying to production:
-
Environment Configuration
- Set
APP_ENV=production - Configure secure database credentials
- Set up proper mail configuration
- Set
-
Security Checklist
- Change default passwords
- Enable HTTPS/SSL
- Configure proper file permissions
- Set up rate limiting
-
Performance Optimization
- Enable caching (
php artisan config:cache) - Optimize autoloader (
composer install --optimize-autoloader) - Configure queue workers for background jobs
- Enable caching (
php artisan make:livewire Admin/YourComponentWirement is built with Flux UI Pro v2 components. Check the Flux UI documentation for usage examples and licensing information.
- Laravel 12 Foundation
- Livewire 4 Full-stack Components
- Flux UI Pro v2 (requires license)
- Tailwind CSS 4.0
- Alpine.js Integration
- Login Authentication
- User Management (CRUD)
- Vite Asset Pipeline
- Database Migrations & Seeding
- Code Quality Tools (Pint, PHPStan, Rector)
- Pest Testing Framework
If you encounter any issues or have questions:
- Check the Laravel documentation
- Consult Flux UI documentation
- Review Livewire documentation
- Open an issue on GitHub
After installation, you can:
- Log in - Navigate to
/loginwith the default credentials - Manage Users - Go to
/adminto manage users - Customize the Design - Modify layouts and components to match your brand
- Add Your Models - Create Eloquent models and Livewire components
- Build Your Frontend - Use Flux UI components in your Blade templates
Built by Knut W. Horne - Innovative digital solutions for modern web development