Signature Pad
CommunityA beautiful Signature Pad Field for Filamentphp Forms
Author:
Sam Maosa
Package health
BetaAutomated checks of this plugin's Composer package
15 checks
- Skipped: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Skipped: Dependabot or Renovate configured
- Skipped: Dependency update cooldown configured
- Failed: Provides a security policy — View details on Plumb
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist).
- Failed: Commit and release recency — Inactive: no commit date available; last release 663 days ago. View details on Plumb
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Failed:
Current Laravel version supported
—
The newest Laravel line the package co-installs with is
11.0, which is end-of-life. View details on Plumb -
Passed:
Current PHP version supported
—
Constraint
^8.3supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
A Signature pad field for FilamentPHP based on szimek/signature_pad.
NOTE: This documentation is for ^v2.0 which only supports FilamentPHP ^3.0. If you are using Filament 2.x, you should use SignaturePad v1.x. See the docs here
#Installation
You can install the package via composer:
composer require coolsam/signature-pad
Next, Publish filament's assets to ensure the plugin's assets are published to the public directory.
php artisan filament:assets
You may also publish the package's translations using:
php artisan vendor:publish --tag="signature-pad-translations"
You can publish the config file with:
php artisan vendor:publish --tag="signature-pad-config"
#Usage
Use it in your Filament Forms as follows:
use Coolsam\SignaturePad\Forms\Components\Fields\SignaturePad;
SignaturePad::make('my_signature'),
// Other methods
SignaturePad::make('signature')
->backgroundColor('white') // Set the background color in case you want to download to jpeg
->penColor('blue') // Set the pen color
->strokeMinDistance(2.0) // set the minimum stroke distance (the default works fine)
->strokeMaxWidth(2.5) // set the max width of the pen stroke
->strokeMinWidth(1.0) // set the minimum width of the pen stroke
->strokeDotSize(2.0) // set the stroke dot size.
->hideDownloadButtons() // In case you don't want to show the download buttons on the pad, you can hide them by setting this option.
That's it! Enjoy composing beautiful signatures.
#Testing
composer test
#Changelog
Please see CHANGELOG for more information on what has changed recently.
#Contributing
Please see CONTRIBUTING for details.
#Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
#Credits
#License
The MIT License (MIT). Please see License File for more information.
The author
Sam Maosa is a Full-Stack software developer and open-source software maintainer with 10+ years of experience, mainly using the TALL stack (Tailwind, Alpine, Laravel & Livewire). His Open source contributions are currently mainly centered around FilamentPHP. He also contributes to other stacks such as Inertia.js, Vue.js, and Node.
Sam resides in Nairobi, Kenya, and is an employee of Strathmore University. His goal is to transition fully into open-source software development and maintenance and to make more contributions to the core packages of the TALL/FLAT stack.
From the same author
Flatpickr
A DateTime field extension which uses Flatpickr js library, supporting Date Picker, Date-Time Picker, Time Picker, Month Picker and Date Range Picker
Author:
Sam Maosa
Modules
This plugin enables you to easily integrate Filament with your Laravel Modular app powered by nwidart/laravel-modules. Host all your panel's code autonomously in your module!
Author:
Sam Maosa
Nested Comments
Add comments, mentions, replies, and emoji reactions to your model and allow your users to interact with them from right in your app.
Author:
Sam Maosa
Featured Plugins
A selection of plugins curated by the Filament team
Blueprint
Filament Blueprint is a premium Laravel Boost extension that helps AI agents produce accurate, detailed implementation plans and security reports for Filament apps.
Filament
Advanced Tables (formerly Filter Sets)
Supercharge your tables with powerful features like user-customizable views, quick filters, multi-column sorting, advanced table searching, convenient view management, and more. Compatible with Resource Panel Tables, Relation Managers, Table Widgets, and Table Builder!
Kenneth Sese
Data Lens
Advanced Data Visualization for Laravel Filament - a premium reporting solution enabling custom column creation, sophisticated filtering, and enterprise-grade data insights within admin panels.
Padmission