PHPackages                             kaemmerlingit/laravel-sign-pad - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. kaemmerlingit/laravel-sign-pad

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kaemmerlingit/laravel-sign-pad
==============================

Laravel package for of E-Signature with Signature Pad. Privacy friendly (encrypted images) and support for multiple signatures on a single model.

07PHP

Since Jan 3Pushed 1y agoCompare

[ Source](https://github.com/KaemmerlingIT/laravel-sign-pad)[ Packagist](https://packagist.org/packages/kaemmerlingit/laravel-sign-pad)[ RSS](/packages/kaemmerlingit-laravel-sign-pad/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel pad signature
=====================

[](#laravel-pad-signature)

A Laravel package to save (multiple) signatures associated to a Eloquent model.

This library is based on [creagia/laravel-sign-pad](https://github.com/creagia/laravel-sign-pad) and was enhanced with several features like support for multiple signatures on a single model or encrypting the stored signature files. Support for

[![Latest Version on Packagist](https://camo.githubusercontent.com/34ab7944a4c18939d6d5a97e1caf9c74c8cadaab208afdd31476e17d92d7f002/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4b61656d6d65726c696e6769742f6c61726176656c2d7369676e2d7061642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Kaemmerlingit/laravel-sign-pad)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5d5ac5053e055a09bd9797c1cf7bb634ee919028faf2e32bb71a20e2f1d50cff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f4b61656d6d65726c696e6769742f6c61726176656c2d7369676e2d7061642f72756e2d74657374732e796d6c3f6c6162656c3d7465737473)](https://github.com/Kaemmerlingit/laravel-sign-pad/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/be198f4a40f836db3ff562b2663533f252e3cb84522a4c13ee8461d974b71241/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4b61656d6d65726c696e6769742f6c61726176656c2d7369676e2d7061642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Kaemmerlingit/laravel-sign-pad)

Requirements
------------

[](#requirements)

Laravel pad signature requires **PHP 8.0, 8.1, 8.2 or 8.3** and **Laravel 8, 9, 10 or 11**.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require Kaemmerlingit/laravel-sign-pad
```

Publish the config and the migration files and migrate the database

```
php artisan sign-pad:install
```

Publish the .js assets:

```
php artisan vendor:publish --tag=sign-pad-assets
```

This will copy the package assets inside the `public/vendor/sign-pad/` folder.

Configuration
-------------

[](#configuration)

In the published config file `config/sign-pad.php` you'll be able to configure many important aspects of the package, like the route name where users will be redirected after signing the document or where do you want to store the signed documents. You can customize the disk and route to store signatures and documents.

Notice that the redirect\_route\_name will receive the parameter `$uuid` with the uuid of the signature model in the database. If no `redirect_route_name` route is defined, it will return a HTTP 201 code without any further content.

Preparing your model
--------------------

[](#preparing-your-model)

Add the `RequiresSignature` trait and implement the `CanBeSigned` class to the model you would like.

```

```

A `$model` object will be automatically injected into the Blade template, so you will be able to access all the needed properties of the model.

Usage
-----

[](#usage)

At this point, all you need is to create the form with the sign pad canvas in your template. For the route of the form, you have to call the method getSignatureRoute() from the instance of the model you prepared before:

```
@if (!$myModel->hasBeenSigned())

        @csrf

@endif
```

### Retrieving signatures

[](#retrieving-signatures)

You can retrieve your model signature using the Eloquent relation `$myModel->signature`. After that, you can use:

- `getSignatureImagePath()` returns the signature image path.
- `getSignatureImageAbsolutePath()` returns the signature image absolute path.
- `getSignatureImageContent()` returns the content of the image path,

```
echo $myModel->signature->getSignatureImagePath();
```

### Deleting signatures

[](#deleting-signatures)

You can delete your model signature using

- `deleteSignature()` method in the model.

```
echo $myModel->deleteSignature();
```

Customizing the component
-------------------------

[](#customizing-the-component)

From the same template, you can change the look of the component by passing some properties:

- *border-color* (hex) to change the border color of the canvas
- *pad-classes* and *button-classes* (strings) indicates which classes will have the sign area or the submit &amp; clear buttons
- *clear-name* and *submit-name* (strings) allows you to modify de default "Submit" and "Clear" values of the buttons.
- *disabled-without-signature* (boolean) indicates if the submit button should be disabled when the user has not signed yet.
- *part* (string) indicates the part of the signature and is passed to the model.

An example with an app using Tailwind would be:

```

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bcc754aa9c84b502f0fade69790c525a42e8e898447157acce899469038bb3b1?d=identicon)[LukasKaemmerling](/maintainers/LukasKaemmerling)

---

Top Contributors

[![dtorras](https://avatars.githubusercontent.com/u/240932?v=4)](https://github.com/dtorras "dtorras (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (9 commits)")[![LKaemmerling](https://avatars.githubusercontent.com/u/4281581?v=4)](https://github.com/LKaemmerling "LKaemmerling (5 commits)")[![juliangarcess](https://avatars.githubusercontent.com/u/41131304?v=4)](https://github.com/juliangarcess "juliangarcess (4 commits)")[![marcbe](https://avatars.githubusercontent.com/u/2853593?v=4)](https://github.com/marcbe "marcbe (3 commits)")[![stockhausen](https://avatars.githubusercontent.com/u/263501?v=4)](https://github.com/stockhausen "stockhausen (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![mikescola](https://avatars.githubusercontent.com/u/4997757?v=4)](https://github.com/mikescola "mikescola (1 commits)")[![Sergej-Tihonov](https://avatars.githubusercontent.com/u/15265981?v=4)](https://github.com/Sergej-Tihonov "Sergej-Tihonov (1 commits)")[![ahac](https://avatars.githubusercontent.com/u/273572?v=4)](https://github.com/ahac "ahac (1 commits)")

---

Tags

laravelsignature-padsignatures

### Embed Badge

![Health badge](/badges/kaemmerlingit-laravel-sign-pad/health.svg)

```
[![Health](https://phpackages.com/badges/kaemmerlingit-laravel-sign-pad/health.svg)](https://phpackages.com/packages/kaemmerlingit-laravel-sign-pad)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
