New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

3neti/form-handler-signature

Signature capture handler for form flow system
3,434
Install
composer require 3neti/form-handler-signature
Latest Version:v1.4.0
PHP:^8.2
Laravel:12 · 13
Older releases:11
License:MIT
Last Updated:Oct 31, 2026
Links: GitHub  ·  Packagist
Maintainer: 3neti

Signature Handler

3neti/form-handler-signature captures a drawn signature through an HTML canvas as a step in 3neti/form-flow.

Features

  • Mouse and touch input with high-DPI canvas scaling
  • Configurable dimensions, output format, quality, and stroke properties
  • Shared Form Flow screen and action components
  • Default, compact, and immersive presentation variants
  • Canonical signature result field

Installation

composer require 3neti/form-handler-signature
php artisan signature-handler:install --no-interaction

Usage

[
    'handler' => 'signature',
    'config' => [
        'width' => 600,
        'height' => 256,
        'quality' => 0.85,
        'format' => 'image/png',
        'line_width' => 2,
        'line_color' => '#000000',
        'line_cap' => 'round',
        'line_join' => 'round',
        'ui_variant' => 'compact',
    ],
]

Successful capture returns signature, timestamp, width, height, and format. The signature value is a data URL. Hosts should define retention, encryption, access-control, and redaction rules before persisting or logging signature artifacts.

Requirements

  • PHP 8.2 or newer
  • Laravel 12 or 13
  • Form Flow 1.8 or newer
  • Inertia Laravel 2 or 3
  • A browser with HTML canvas and pointer-event support

Testing

composer test
composer pint -- --test
composer audit

License

MIT

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

651,963,193 9,701
laravel/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

435,097,283 607
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

407,699,310 4,663

Version History

Version Released PHP Laravel License
v1.4.0 ^8.2 ^12.0 || ^13.0 MIT
v1.3.0 ^8.2 ^12.0 || ^13.0 MIT
v1.2.3 ^8.2 ^12.0 || ^13.0 MIT
v1.2.2 ^8.2 ^12.0 || ^13.0 MIT
v1.2.1 ^8.2 ^12.0 || ^13.0 MIT