Modern Laravel starter pack with FluxUI v2 and Filament 4
Wirement is a bloat-free starter kit for quickly launching Laravel 12 projects. It comes with FluxUI v2 and Filament 4 pre-configured, plus essential tools to speed up your developmentβnothing more, nothing unnecessary.
- FluxUI v2 - Modern, Apple-inspired component library (requires license)
- Tailwind CSS 4.0 - Utility-first CSS framework
- Hero / Lucide Icons - Beautiful, customizable icons
- Alpine.js - Lightweight JavaScript framework
- Laravel 12 - Latest PHP framework
- Filament 4 - Modern admin panel builder
- MySQL - Reliable database solution
- Livewire - Dynamic frontend components
- Authentication - Laravel Breeze with modern styling
- Admin Panel - Filament 4 ready to go
- FluxUI Components - Beautiful UI components
- Database Seeding - Basic user seeding
- Asset Pipeline - Vite with Tailwind CSS
- Code Quality - Laravel Pint, PHPStan, Pest testing
- PHP 8.3+
- Composer
- Node.js & npm
- MySQL 8.0+
- 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
php artisan serve
# or use Laravel Herdwirement/
βββ app/
β βββ Filament/ # Filament admin panel
β β βββ Resources/ # Filament resources
β βββ Models/ # Eloquent models
β βββ Http/ # Controllers, middleware
βββ resources/
β βββ views/ # Blade templates with FluxUI
β βββ js/ # Alpine.js components
β βββ css/ # Tailwind CSS
βββ database/
β βββ migrations/ # Database migrations
β βββ seeders/ # Database seeders
βββ routes/ # Application routes
- Public Site:
http://localhost:8000 - Admin Panel:
http://localhost:8000/admin
Import Lucide icons using the built-in Artisan command:
php artisan flux:icon crown grip-vertical githubThe admin panel is configured in app/Providers/Filament/AdminPanelProvider.php:
- SPA Mode enabled for better performance
- Custom theme with FluxUI integration
- Authentication with Laravel Breeze
- Profile management included
Wirement includes convenient composer commands:
composer review # Run all code quality tools
composer test # Run Pest test suite
composer format # Fix code style with Pint- Background:
#F9FAFB(neutral-50) - Text:
#1A1A1A(gray-900) - Accent: Deep indigo or forest green
- Cards: Rounded corners (2xl), subtle shadows
- Font: Inter or SF Pro
- Headers: Bold, 24-32px
- Body: Medium weight, readable sizes
- Spacing: Generous padding (24-40px)
- User Authentication - Multi-level access control
- Role-based Permissions - Employee, admin, patient roles
- Data Encryption - Sensitive data protection
- GDPR Compliance - Privacy by design
- Audit Logging - Activity tracking
php artisan migrate:fresh --seednpm run dev # Development mode
npm run build # Production build
npm run watch # Watch for changesphp artisan test- laravel/framework:
^12.0 - filament/filament:
^4.0 - flux-ui/flux:
^2.0(requires license) - tailwindcss:
^4.0 - alpinejs:
^3.0 - livewire/livewire:
^3.0
Contributions are welcome! Please read our contributing guidelines and submit pull requests to help improve Wirement.
This project is licensed under the MIT License - see the LICENSE file for details.
Important: FluxUI v2 requires a separate commercial license for most use cases:
- Free for personal/open-source projects - Limited to non-commercial use
- Commercial license required - For any commercial or client work
- Pricing: Starting at $199 for single developer
- Purchase: Visit FluxUI.dev for licensing options
Alternative: You can replace FluxUI components with:
- Tailwind UI components (also requires license)
- Headless UI (free)
- Custom Tailwind components
- Other free component libraries
Note: The starter pack architecture works with any component library - FluxUI is just our recommendation for the best developer experience.
Wirement is developed by Knut W. Horne (kwhorne.com) - a passionate developer creating innovative digital solutions with focus on user experience and modern technologies.
Ready to build something amazing? π
Start your next Laravel project with Wirement and experience the power of modern web development tools working together seamlessly.
For development purposes, a default admin user is created with the following credentials:
Admin User:
- Email:
admin@example.com - Password:
password
Security Note: Remember to change the default password before deploying to production.
Before deploying to production:
-
Environment Configuration
- Set
APP_ENV=production - Configure secure database credentials
- Set up proper mail configuration
- Configure backup and monitoring
- Set
-
Security Checklist
- Change default passwords
- Enable HTTPS/SSL
- Configure proper file permissions
- Set up rate limiting
- Review user access controls
-
Performance Optimization
- Enable caching (
php artisan config:cache) - Optimize autoloader (
composer install --optimize-autoloader) - Configure queue workers for background jobs
- Set up CDN for static assets
- Enable caching (
php artisan make:filament-resource ModelName --generatephp artisan make:filament-widget WidgetNameWirement is built to work with FluxUI v2 components. Note: FluxUI requires a separate license for commercial use. Check the FluxUI documentation for usage examples and licensing information.
The project includes essential Artisan commands:
php artisan flux:icon- Import Lucide iconsphp artisan make:filament-user- Create admin users
β
Laravel 12 Foundation
β
Filament 4 Admin Panel
β
FluxUI v2 Ready (requires license)
β
Tailwind CSS 4.0
β
Alpine.js Integration
β
Laravel Breeze Authentication
β
Lucide Icons Support
β
Vite Asset Pipeline
β
Database Migrations
β
User Seeding
β
Code Quality Tools
β
Pest Testing Framework
β
Modern UI Components
β
Production-Ready Config
If you encounter any issues or have questions:
- Check the Laravel documentation
- Review Filament documentation
- Consult FluxUI documentation
- Open an issue on GitHub
After installation, you can:
- Explore the Admin Panel - Navigate to
/adminto see Filament in action - Customize the Design - Modify colors, fonts, and spacing to match your brand
- Add Your Models - Create Eloquent models and Filament resources
- Build Your Frontend - Use FluxUI components in your Blade templates
- Deploy to Production - Follow the deployment checklist above
- Start with Models - Define your data structure first
- Use Filament Resources - Leverage the admin panel for quick CRUD operations
- Embrace FluxUI - Use the beautiful components for consistent design
- Follow TALL Stack - Keep your architecture clean and maintainable
- Write Tests - Use the included Pest framework for quality assurance
Built with β€οΈ by Knut W. Horne - Innovative digital solutions for modern web development