The LUYA privacy extension has helpers for privacy management, as needed by certain privacy laws.
- Widget to agree privacy statement.
- Asset File to load resources only when cookies are accepted.
- Trait to attach into your own controllers, blocks etc. in order to trigger whether privacy statements has been accepted or not.
Install the extension through composer:
composer require luyadev/luya-privacy:^1.0
Please take a look at the description in the files for usage and API details: