Download the PHP package kukux/digital-signature without Composer
On this page you can find all versions of the php package kukux/digital-signature. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kukux/digital-signature
More information about kukux/digital-signature
Files in kukux/digital-signature
Package digital-signature
Short Description A Laravel Filament package for digital signature capture, certificate issuance, and PDF signing (v3 + v4 + v5 compatible).
License MIT
Informations about the package digital-signature
Digital Signature for Filament
A Laravel Filament plugin for capturing signatures, issuing X.509 certificates, and embedding cryptographically signed stamps into PDF documents.
Supports: Filament v4 and v5 — Laravel 11 / 12 — PHP 8.2+
Documentation
| Doc | Description |
|---|---|
| Installation | Composer, migrations, plugin registration, admin resource |
| Configuration | All config keys and env variables |
| Model Setup | Signable interface and HasSignatures trait |
| Filament Components | SignaturePad, SignatureColumn, SignatureResource, SignDocumentAction |
| Signing Workflow | Full lifecycle and SignatureManager API |
| Ad-hoc Signing | Implement document signing outside a package resource |
| Certificates | Certificate issuance, CA setup, CFSSL |
| Security | HMAC metadata, machine binding, DB cross-validation, forgery detection |
Requirements
- PHP 8.2+ with
ext-opensslandext-gd - Laravel 11 or 12
- Filament 3, 4, or 5
Quick Install
filament:assets publishes the plugin's JS bundle (signature pad + picker) so it's reachable from the panel — re-run it after every composer update of this package.
Register the plugin in your panel provider:
This registers:
- Signatures — a full admin resource for registering reusable signature images and viewing signature records
- Sign Document — header actions inside the Signatures resource for signing with a registered signature
Preparing a Signable Model
Any model whose PDF can be signed must implement Signable and use HasSignatures.
Adding the Sign Action to Your Own Resource
First let the signer register a reusable signature from the built-in Signatures resource. Then add SignDocumentAction to any resource whose model implements Signable.
For controller-driven or custom page flows, see Ad-hoc Signing.
Built-in Signatures Admin Resource
When the plugin is registered, a Signatures resource appears in the sidebar automatically.
Register SignaturePlugin::make() on every Filament panel that should use the package. If a panel discovers or registers SignatureResource without the plugin, Filament can report Plugin [signature] is not registered for panel [admin].
List page — table of all signature records with thumbnail, signer, status, and method.
View page — full infolist showing the large signature image, signer details, security metadata.
Both pages include a Sign Document header action.
Customize appearance:
Security Highlights
| Feature | Default |
|---|---|
| PKCS#7 cryptographic signature embedded in PDF | Always on |
| DocMDP P=2 — post-signing modification detection | Always on |
| HMAC-signed PNG metadata (tEXt + XMP) | Always on |
| XMP metadata visible in macOS Preview & Windows Explorer | Always on |
| Signer identity (name + email) embedded in PNG | Always on |
| Forgery / screenshot upload rejection | Always on |
| Document integrity hashes (before + after) | Always on |
| Machine binding — DB cross-validation on re-upload | Always on |
| Machine lock — reject re-upload from different device | SIGNATURE_MACHINE_LOCK=true |
| CRL certificate revocation check | SIGNATURE_CRL_ENABLED=true |
| RFC 3161 trusted timestamp via TSA | SIGNATURE_TSA_URL=https://... |
For full details see docs/security.md.
Queue
Signing runs asynchronously. Start a queue worker:
To sign synchronously (no queue required):
The action calls embedAndFinalize() directly unless you opt in to queued signing:
All versions of digital-signature with dependencies
ext-openssl Version *
ext-gd Version *
laravel/framework Version ^11.0 || ^12.0
filament/filament Version ^3.0 || ^4.0 || ^5.0
setasign/fpdi Version ^2.5
tecnickcom/tcpdf Version ^6.7