elnasnato/laraliveui
LaraLiveUI is a Tailwind CSS component library for Livewire apps, offering free UI elements like buttons, modals, dropdowns, tables, accordions, and badges. Drop them into Blade with simple laraliveui: tags and minimal setup.
Architecture fit
laraliveui: namespace plus a custom LaraliveuiTagCompiler for <laraliveui:button> syntax. No consumer-side build tooling beyond Composer and a CSS import.dist/laraliveui.css is imported manually into resources/css/app.css, while dist/laraliveui.js/.min.js are served through AssetManager routes and injected via @laraliveuiScripts. @laraliveuiAppearance emits inline style/script for dark mode.laraliveui: prefix, window.LaraLiveUI, $laraliveui Alpine store, data-laraliveui-* / --laraliveui- tokens), so it can coexist with FluxUI, Sheaf UI, or a bespoke component layer in the same app — useful for incremental adoption.Integration feasibility
vendor/ bypasses Tailwind v4 source detection, so vendor Blade paths likely need @source directives or you get missing utility classes in dynamically generated markup; (2) route-served JS can break under route:cache or aggressive CDN caching, and directive ordering matters (@laraliveuiScripts after @livewireScripts).php artisan laraliveui:publish escape hatch is the key de-risking feature: overrides live in your repo, so you are not fully hostage to upstream for individual components.Technical risk
AGENTS.md states it is a "UI clone of FluxUI v2" including the 18 "pro" components, which are commercially licensed in the original. A TPM must treat this as a legal gate, not an engineering preference: if the ported pro components are derivative, a takedown or license claim would force a rework of any UI built on them. Get written counsel sign-off before production, and isolate usage of the pro set from the free set.AGENTS.md says latest tag v1.0.4 while release notes include v2.0.0). Release notes have empty changelogs (v1.0.0, v1.0.4, v2.0.0 with no content), which means you cannot assess upgrade risk from the repo alone.Key questions
route:cache, and can assets be published to public/ for CDN origin?Stack fit
Migration path
composer require elnasnato/laraliveui:1.0.4 style) and commit composer.lock; never track a branch.@source config, directive ordering, asset routing under route:cache, dark-mode persistence, and Livewire reactivity in one PR.flux: → laraliveui:) is mechanical, but prop-level parity should be verified component by component — do not assume a find-and-replace is safe.resources/views/vendor/laraliveui/, so upgrades stay tractable and diffs are reviewable.Compatibility
@custom-variant dark) and CSS import must be added together, in resources/css/app.css, in the documented order.public/.Sequencing
Exit strategy (design it before you start)
vendor-views override directory so the UI survives the package being abandoned or removed.laraliveui: markup as replaceable presentation.Maintenance
@source config, and patching components you have overridden. Underprovision this and you get silent style regressions on Tailwind/Livewire upgrades.stubs/resources/views/laraliveui/ and dist/. That is the highest-friction recurring task.Support
Scaling
public/ is the safer default at scale.<button>/<input> in Livewire views.Failure modes (ranked)
route:cache/CDN misconfiguration yields unstyled or non-interactive UI. Mitigation: publish assets to public/ and add a smoke test asserting 200 on the dist JS.Ramp-up
vendor/) and Tailwind v4 source configuration; spend the time on those two, not on component APIs.TPM recommendation Treat this as a pilot-only, internal-tools-first dependency pending two gates: (a) legal determination on FluxUI-derived pro components, and (b) a verified Packagist tag with a real changelog and demonstrated maintainer responsiveness. Both gates clear → adopt behind a fork with vendored overrides and a 0.15 FTE maintenance allocation. Either gate fails → do not adopt; the value (accelerated UI delivery) is real but replaceable, while the provenance and bus-factor risks are not.
How can I help you explore Laravel packages today?