christopheraseidl/livewire-cookie-consent
Livewire Cookie Consent provides a ready-made Livewire component for adding a cookie consent banner to Laravel applications. Collect visitor approval before setting cookies, then customize the message, button labels, and persistence through config options and publishable views.
Adopt when:
Look elsewhere when:
For executives: We can ship a cookie-consent banner on our existing Laravel/Livewire stack without buying a platform or building UI from scratch, which meaningfully reduces cost and time to a compliant-looking experience. The v1.1.0 release makes the banner configurable without code changes, which speeds up legal review cycles. Two caveats to state plainly: this is a consent interface, not a compliance system of record, and the upgrade from v1.0.0 carries breaking changes for anyone who customized it. Treat it as a fast, low-cost first step while a CMP decision is deferred.
For engineering: Livewire-native, config-driven, with install/uninstall commands and a new asset-management and configuration service layer that cleanly separates banner behavior from application code. Testing now runs on Laravel's own test framework, which means less bespoke tooling. The trade-off is churn: Livewire component paths moved, some files were removed, and the testing setup changed — so extensions against v1.0.0 must be re-validated. Recommend pinning the version, reading the full changelog before upgrading, and adding a smoke test that asserts the banner renders and preference choices persist.
How can I help you explore Laravel packages today?