Free vs Pro
What’s Included in Free
Thelivewire/flux package includes essential UI components:
- Button - Buttons with variants, sizes, and loading states
- Dropdown - Dropdown menus and context menus
- Icon - Icon component with Heroicons support
- Separator - Visual dividers
- Tooltip - Contextual tooltips
- Input - Text inputs with validation
- Checkbox - Checkboxes and checkbox groups
- Radio - Radio buttons and groups
- Select - Select dropdowns
- Textarea - Multi-line text inputs
- Switch - Toggle switches
- Modal - Modal dialogs
- Badge - Labels and status indicators
- Card - Container components
- Avatar - User avatars
- Layout - Header, sidebar, main, footer components
- Typography - Heading, text, and link components
- Field - Form field wrappers with labels and validation
- Navbar - Navigation bars
- Breadcrumbs - Breadcrumb navigation
- Callout - Alert and notice components
- Skeleton - Loading placeholders
- Otp - One-time password inputs
What’s Included in Pro
Thelivewire/flux-pro package adds advanced components:
- Accordion - Collapsible content sections
- Autocomplete - Auto-complete inputs with search
- Calendar - Date calendars and pickers
- Chart - Data visualization charts
- Command - Command palette (⌘K)
- Composer - Rich text composer
- Context - Context menus
- Date picker - Advanced date selection
- Editor - Rich text editor with formatting
- File upload - File upload with drag & drop and previews
- Kanban - Kanban boards with drag & drop
- Pillbox - Multi-select pills/tags
- Popover - Floating popovers
- Slider - Range sliders
- Tabs - Tabbed interfaces
- Table - Data tables with sorting, filtering, pagination
- Time picker - Time selection
- Toast - Toast notifications
- Enhanced variants - More styling options for base components
- Priority support - Email support from the Flux team
- Future updates - All new Pro components as they’re released
Checking Your License
Flux can detect whether Pro is installed:Enforcing Pro License
Some components require Pro:Purchasing a License
Purchase a Flux Pro license at: https://fluxui.dev/pricing After purchase, you’ll receive:- License key
- Email associated with the license
- Access to the private Composer repository
Activating Your License
Use theflux:activate command to activate your Pro license:
Interactive Activation
The command will prompt for your credentials:Non-Interactive Activation
Provide credentials as arguments:How Activation Works
The activation command performs three steps:Step 1: Add Credentials to auth.json
auth.json file with credentials for the private Composer repository.
Step 2: Add Repository to composer.json
Step 3: Install flux-pro
livewire/flux-pro package from the private repository.
Manual Activation
If the automatic activation fails, you can activate manually:1. Add auth.json
Createauth.json in your project root:
2. Add Repository
Add tocomposer.json:
3. Install Package
Run:Asset Loading
Flux automatically loads the correct assets based on your license:- Uses
flux.jsandflux.min.jsfrom flux-pro - Includes all Pro component JavaScript
- Loads editor assets when using the Editor component
- Uses
flux-lite.min.js - Only includes free component JavaScript
Editor Component Assets
The Editor component requires special assets only available in Pro:Updating Flux Pro
Update both packages together:License Validation
Flux validates your license through Composer:- Valid license - Composer successfully downloads the package
- Invalid license - Composer returns a 401 authentication error
- Expired license - Contact support@fluxui.dev
Multiple Environments
Your license works in all environments (local, staging, production):- Development - Use
flux:activateon your local machine - CI/CD - Add
auth.jsonto your deployment secrets - Production - Ensure
auth.jsonis available duringcomposer install
Example: GitHub Actions
Add your auth.json as a secret:License Types
Flux Pro offers different license types:Solo License
- Single developer
- Unlimited projects
- 1 year of updates
- Email support
Team License
- Unlimited developers
- Unlimited projects
- 1 year of updates
- Priority email support
Support
Pro license holders receive priority support: Email: support@fluxui.dev Include:- Your license email
- Laravel version
- Livewire version
- Flux version (
composer show livewire/flux livewire/flux-pro) - Detailed description of the issue
Troubleshooting
Authentication Failed
If you get Composer authentication errors:- Verify your email and license key
- Check
auth.jsonis properly formatted - Ensure the repository is added to
composer.json - Clear Composer cache:
composer clear-cache
Package Not Found
If Composer can’t findlivewire/flux-pro:
- Verify the repository is in
composer.json: - Run
composer clear-cache - Try installing again
Components Not Available
If Pro components aren’t available:- Verify installation:
composer show livewire/flux-pro - Clear cache:
php artisan optimize:clear - Check service provider is registered (automatic)
Assets Not Loading
If Pro assets aren’t loading:- Clear view cache:
php artisan view:clear - Rebuild assets:
npm run build - Hard refresh browser
- Check browser console for 404 errors