DPDP guide · updated 2026-12-05
DPDP compliance for custom PHP and Laravel websites
Custom PHP sites built by agencies often have analytics in a header include, contact forms without a notice, and database passwords written in the code. The Doctor fixes these while leaving your PHP logic untouched.
Repairs for PHP projects
- Edits only HTML outside PHP code blocks; every changed file is re-checked with php -l.
- Installs a self-contained kit: consent records (consent.php), ticketed rights and grievance requests with due dates (rights.php) and an owner console.
- Moves hard-coded secrets to environment variables and gives you the values separately to set and rotate.
- Masks emails and phone numbers in error_log calls; adds security headers in .htaccess.
Assisted repairs
- Upgrading MD5/SHA-1 password hashes is done by an AI engineer with an independent AI reviewer, using a transparent re-hash at next login so no user is locked out.
Check your own site in minutes
Upload your code or connect GitHub. The free scan shows each gap with the file and line; the Doctor can fix most of them automatically.
Start free DPDP scanQuestions
Will it break my forms?
No. It adds a notice line before the submit button and removes only literal pre-ticked attributes; dynamic PHP is never rewritten.
Where is consent stored?
In an SQLite file in a private folder, outside the public web root where the host allows it.
More DPDP guides
DPDP compliance checklist for websites and appsA DPDP consent banner that actually blocks trackersWhat your DPDP privacy notice must containDPDP compliance for WordPress, without touching your themeDPDP compliance for React and Next.jsDPDP compliance for Android appsDPDP Act penalties explainedDPDP data rights requests and grievancesPersonal data breach: the 72-hour rule
General information on the DPDP Act, 2023 and DPDP Rules, 2025 — not legal advice. Independent audit and certification: NovaCert.