vlados/laravel-legal-documents
Manage legal documents in Laravel with versioned policies, publishable content, and user acceptance tracking. Includes migrations, models, and helpers to keep terms of service and privacy policies current and auditable.
composer require vlados/laravel-legal-documents. In v2 Spatie Laravel Translatable is no longer pulled in — add it yourself only if you need the bundled adapter (composer require spatie/laravel-translatable).php artisan vendor:publish --tag="legal-documents-config" (tag names may vary — check the README)php artisan vendor:publish --tag="legal-documents-migrations" then php artisan migratephp artisan vendor:publish --tag="legal-documents-views" if you intend to touch markup/labelsdocs/upgrading-to-v2.md and docs/translations.md (linked from the release)TranslationDriver implementation), and run the adapter's migration so translation tables exist. Installing Spatie alone does nothing.TranslationDriver contract rather than bending the Spatie adapter. Keep the driver thin — read/write per document version and locale — and let the package handle fallback.docs/upgrading-to-v2.md has the ordered steps, including the config and view review that is easy to skip.How can I help you explore Laravel packages today?