- Descrição curta
- Generate professional legal notices and GDPR documents quickly with our PHP script. Multilingual support (French, English, Spanish), instant PDF export via DomPDF, CSRF protection, secure HTTP headers, customizable GDPR options, responsive design, easy installation, unit tests included. Perfect for web agencies and website owners.
Generate professional Legal Notices and GDPR compliance documents in minutes!
This powerful PHP script creates customized legal texts for your website, instantly exportable to PDF using DomPDF.
Perfect for web agencies, freelancers, and website owners who need fast, compliant, and multilingual legal pages.
Multilingual Support: French, English, Spanish; easily extendable to other languages
PDF Export: Instant generation using DomPDF
Security Features:
- CSRF protection
- Secure HTTP headers (CSP, HSTS, X-Frame-Options, etc.)
- Input sanitization to prevent XSS attacks
- Session management with configurable timeout
- Responsive Interface: Works seamlessly on desktop and mobile devices
- Complete Form Fields:
- Company name, SIRET, address, email, phone
- Hosting provider, business activity
- Customizable GDPR options (generic, sector-specific, personalized)
- Simple Installation: Easy to integrate into any PHP site
- Well-Organized Project Structure:
- /lang/ – Translations (FR, EN, ES)
- /lib/dompdf/ – PDF generation library
- /public/ – Frontend files (CSS, JS, index.php)
- /src/ – Core PHP classes (Security, Session, Translation, PDF Generation, Validation)
- /views/ – HTML templates
- composer.json – Dependency management
- index.php – Main form
- generate.php – PDF generation controller
- Unit Tests Included: Verify validity of emails, phone numbers, and SIRET numbers
- Customizable Translations: Edit or extend easily via /lang/ files
- PDF Templates: Separate CSS for styling PDF outputs
- Lightweight and Secure: Minimal dependencies, security-first design
- Screenshots/Demo Included: Form in all three languages, PDF output, pre-generation form view
- License Compliance: Envato license, prevents unauthorized redistribution