3neti/form-handler-signature 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

3neti/form-handler-signature

最新稳定版本:v1.1.1

Composer 安装命令:

composer require 3neti/form-handler-signature

包简介

Signature capture handler for form flow system

README 文档

README

A Form Flow Manager plugin for capturing signatures using HTML5 canvas drawing.

Features

✅ Canvas-based signature drawing (mouse/touch support)
✅ Base64 image encoding
✅ Configurable canvas dimensions & quality
✅ Customizable stroke properties (width, color, cap, join)
✅ High-DPI display support (device pixel ratio scaling)
✅ Auto-registration with Form Flow Manager

Installation

composer require 3neti/form-handler-signature

Usage

{
    handler: 'signature',
    config: {
        title: 'Sign Here',
        description: 'Please provide your signature',
        width: 600,
        height: 256,
        quality: 0.85,
        format: 'image/png',
        line_width: 2,
        line_color: '#000000',
        line_cap: 'round',
        line_join: 'round'
    }
}

Configuration Options

Option Type Default Description
width int 600 Canvas width in pixels
height int 256 Canvas height in pixels
quality float 0.85 Image compression quality (0-1)
format string 'image/png' Output format (png/jpeg/webp)
line_width int 2 Stroke width in pixels
line_color string '#000000' Stroke color (hex)
line_cap string 'round' Line ending style (butt/round/square)
line_join string 'round' Line join style (bevel/round/miter)

Requirements

  • PHP 8.2+
  • Laravel 12+
  • Browser with HTML5 canvas support

Testing

cd packages/form-handler-signature
composer install
vendor/bin/pest

License

MIT

Author

3neti info@3neti.com

统计信息

  • 总下载量: 1.1k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固