esign-sol
Self-hosted electronic signatures for ordinary cPanel hosting.
Upload a PDF, place signature fields, send secure links, collect signatures, get a signed PDF with an audit certificate.
PHP 8.2 · MySQL/MariaDB · no framework · no Node · no Composer needed.
Important: esign-sol creates simple (visual) electronic signatures with strong supporting evidence. It does not create qualified or certificate-based digital signatures. Read the DISCLAIMER and check the law for your country and document type before relying on it.
Features
| Admin dashboard | Totals for all / pending / completed / expired documents, search and filters, signing history, administrators |
| Documents | PDF upload (validated), multiple signatories, sequential or parallel signing order, preview before sending |
| Field placement | Click-to-place signature, date and name fields per signer; drag, resize, nudge with arrow keys |
| Exact positioning | Positions are stored as page fractions (CropBox + rotation aware) and stamped at exactly those coordinates |
| Signing page | No account needed. View the whole PDF, draw or type a signature, enter legal name, accept consent, mobile friendly |
| Final PDF | Signed copy rendered from the untouched original; originals and signed files are read-only; unique reference number |
| Evidence | SHA-256 of original and signed PDF, UTC timestamps, IP, user agent, consent text + time, hash-chained audit log |
| Audit certificate | Downloadable PDF per completed document with event timeline and QR code to the verification page |
| Public verification | Look up a reference: status, signing dates, integrity check, optional "is my copy identical?" upload. No private data shown |
| SMTP via PHPMailer: invitations, confirmations, completion, admin notifications, e-mail log | |
| Security | PDO prepared statements, CSRF, hashed single-use expiring tokens, rate limiting, hardened sessions, strict CSP, admin IP allow-list |
| Easy install | Web installer, SMTP settings page, daily cron maintenance script, .htaccess rules included |
How it works
- Create a request – upload a PDF, add signers (name, e-mail, order).
- Place fields – click where each signer's signature/date/name goes. Preview, then send.
- Signers get a secure link – random, expiring, single-use. Sequential mode invites the next signer only when it is their turn.
- They sign – read the document, confirm their legal name, draw or type, accept consent.
- Completion – signed PDF + SHA-256 + audit certificate are generated; everyone is e-mailed; the reference can be checked at
/verify.
Requirements
- PHP 8.2+ with
pdo_mysql,mbstring,gd,openssl,zlib(and ideallyfileinfo) - MySQL 5.7+ / MariaDB 10.4+
- Apache or LiteSpeed (standard cPanel) with
mod_rewrite; HTTPS - An SMTP mailbox (the one cPanel gives you is fine)
Install (cPanel, ~10 minutes)
- Download
esign-sol-vX.Y.Z.zipfrom the Releases page (not the "Source code" archive). - Upload and extract it. Put the contents of
public_html/into your web root (or sub-domain folder such assign.example.com) and put theesign-private/folder next to it (outside the web root). - In cPanel create a MySQL database + user (all privileges).
- Open
https://your-domain/installand follow the wizard (requirements → database → company → admin account). - Sign in at
/admin→ Settings → enter your SMTP details → Send a test e-mail. - Add the daily cron job shown on the Settings page, e.g.
/usr/local/bin/php /home/CPUSER/esign-private/cron/maintenance.php
Full step-by-step guide with troubleshooting: docs/INSTALL.md.
Security & integrity design
- Originals are never modified. The uploaded PDF is stored under a random name, read-only, outside the web root; its SHA-256 is recorded.
- Signed PDF is re-rendered from the original, which also drops active content (JavaScript, launch actions).
- Tokens: 256-bit random, only the SHA-256 is stored, expire, signing links work once; re-sending revokes the old link.
- Audit trail: append-only, each entry contains the hash of the previous entry; verify the whole chain from the admin area or cron.
- See SECURITY.md for the full list and the hardening checklist.
Limitations
- Simple electronic signatures only (no PAdES/X.509). See DISCLAIMER.
- PDF annotations, form fields and JavaScript from the original are not carried into the signed copy (it is regenerated to guarantee exact placement). The original is kept as-is.
- Encrypted PDFs and PDFs with hybrid cross-reference tables are rejected with a clear message.
- Needs Apache/LiteSpeed-style
.htaccess(on Nginx, replicate the rewrite rule and block dot-files).
Licence
Free to use, not free to resell. esign-sol is released under the esign-sol Community License:
- ✅ Use it on your own websites/servers, including for your own business, free of charge. Modify it for your own use.
- ❌ No selling, reselling, sublicensing, bundling in paid products, paid client installs, or offering it as a hosted/white-label service without the author's prior written permission (a commercial licence, which may involve a fee or royalty).
- No warranty, and the author accepts no liability (DISCLAIMER).
This is a source-available licence, not an OSI-approved open-source licence. Bundled third-party libraries keep their own licences – see THIRD_PARTY_LICENSES.md.
Need a commercial licence? Contact the author through the repository owner's GitHub profile.
Contributing & support
Bug reports and focused pull requests are welcome – see CONTRIBUTING.md. Security issues: SECURITY.md. Support is community-based and provided as time allows.






