Skip to content

Releases: devrabiul/laravel-cookie-consent

📦 v1.1.0 – Preference Modal Access + Nginx Asset Fix

21 Jul 16:20
Compare
Choose a tag to compare

📦 v1.1.0 – Preference Modal Access + Nginx Asset Fix

✨ New Features

  • 🔁 Cookie Preferences Reopen Support
    In compliance with UK ICO and GDPR regulations, users can now revisit and change their cookie preferences at any time.

    • Add a link anywhere in your app to reopen the preferences modal:

      <a onclick="showHideToggleCookiePreferencesModal()">Change Cookie Preferences</a>

      or

      <a class="showHideToggleCookiePreferencesModal">Change Cookie Preferences</a>
    • Adds support for both inline onclick and class-based toggling (no extra JS needed).

    • Triggers the same modal UI shown on first visit.


🛠️ Fixes & Improvements

  • Nginx Asset Loading Fix
    Resolved issues where cookie banner assets weren’t being loaded properly in some Nginx setups.

    • Assets now reference correct public paths and respect Laravel's asset helper behavior.

📥 How to Upgrade

Update the package using Composer:

composer update devrabiul/laravel-cookie-consent

Re-publish assets if needed:

php artisan vendor:publish --provider="Devrabiul\CookieConsent\CookieConsentServiceProvider"

🔄 Final Steps

Clear your config cache to apply changes:

php artisan config:clear

v1.0.2

23 Apr 16:40
3f11c40
Compare
Choose a tag to compare

📦 v1.0.2 – Custom Translations Flow Added

Release Date: April 23, 2025


🛠️ Enhancements & Fixes

  • Custom Translation Flow
    Introduced a more streamlined and flexible system for managing translations.
    • All translatable strings can now be fully customized through your own language files.
    • This improvement enhances localization support, making it easier to adapt the cookie consent UI for multilingual websites.

📥 How to Upgrade

To update the package, run the following command:

composer update devrabiul/laravel-cookie-consent

After updating, re-publish the configuration file:

php artisan vendor:publish --provider="Devrabiul\CookieConsent\CookieConsentServiceProvider"

⚠️ Important: Delete the existing config/laravel-cookie-consent.php file before publishing the updated version.


🔄 Final Steps

Clear your cached configuration to ensure changes take effect:

php artisan config:clear

📦 v1.0.1 – Bug Fix Release

16 Apr 17:39
Compare
Choose a tag to compare

📦 v1.0.1 – Bug Fix Release

Released on: April 16, 2025


🐛 Fixed

  • Cookie Categories Visibility Issue #1
    Fixed an issue where enabling or disabling cookie categories via the laravel-cookie-consent.php config file or through the JavaScript options array had no effect on which cookie categories were shown in the cookie preferences box.
    • All cookie categories were previously shown regardless of the configuration.
    • Now, only the categories explicitly enabled in the config or passed to the JS options will be displayed.

Special thanks to @peterbormans for reporting this issue 🙏


📥 How to Update

If you're using Composer:

composer update devrabiul/laravel-cookie-consent

Or to update just this package:

composer require devrabiul/laravel-cookie-consent

📌 Notes

  • Clear any cached config if needed:
php artisan config:clear

Initial Release - v1.0.0

05 Apr 06:34
Compare
Choose a tag to compare

Laravel Cookie Consent

A GDPR-compliant solution offering enterprise-grade compliance with fully customizable cookie banners for Laravel applications. Simplifies regulatory requirements while maintaining excellent user experience and complete customization capabilities.

Features

  • 🔥 One-Click Implementation – Simple installation via Composer with auto-loaded assets
  • Zero Performance Impact – Lightweight with lazy-loaded components
  • 🌍 RTL & i18n Support – Full right-to-left compatibility + multilingual translations
  • 🌙 Dark Mode Support – Auto dark/light mode matching system preferences
  • 🛡 Granular Consent Control – Category-level cookie management (necessary/analytics/marketing)
  • 📦 Complete Customization – Override every color, text, and layout via config
  • 📱 Responsive Design – Perfectly adapts to all devices (mobile/tablet/desktop)

laravel-cookie-consent