robertvanlienden/useragreementsbundle
A Symfony bundle for managing user agreements and terms acceptance. Define agreement versions, record which users accepted each version, and require re-acceptance when terms change, with Doctrine entities and integration points for your app.
Start by treating v2.0.0 as the new baseline. Inspect composer.json, the README installation section, and any framework integration notes first. The package is published as a bundle, so confirm its Laravel compatibility and registration path before wiring it into an app; if it is Symfony-oriented, check whether you need a bridge, adapter, or direct form/entity usage.
Then look for the package’s config file, migrations/entities, agreement model/service, and checkbox form rendering/partials. Publish and review config, run migrations, and locate the exact checkbox field or template that renders agreement acceptance.
First use case: gate registration, checkout, or account activation on acceptance of terms/privacy policy, persisting the user ID, agreement version, and accepted timestamp. In v2.0.0, use the generated checkbox id to associate the input with its <label for="...">.
^2.0.0, publish config/migrations/views as documented, migrate, and render the agreement checkbox through the package’s field/template rather than hand-rolling HTML.id for label association and accessibility. Do not hardcode the ID unless the package exposes a stable ID prefix/config option.agreement.name, value, or data-* attributes over generated IDs.id attribute and the corresponding label association; otherwise you may silently lose the v2.0.0 behavior.id attribute. Exact rendered HTML changes, so tests, CSS, JS, and custom form themes may need updates.id as a business identifier. Use the agreement name/version/value for persistence and reporting.aria-describedby should still point to the right elements.How can I help you explore Laravel packages today?