dekate/esigner
Composer 安装命令:
composer require dekate/esigner
包简介
easy to implement electronic signature pad
README 文档
README
DK E-Signer is a Laravel package that provides a simple and flexible way to integrate e-signatures into your application. It allows users to draw or type their signatures and stores them securely.
Features
- Signature Capture: Supports drawing and typing signatures.
- Signature Storage: Stores signatures as data URLs or files.
- Document Type Management: Define different document types and associated signature fields.
- Customizable: Easily extendable to fit your application's needs.
Installation
You can install the package via composer:
composer require dekate/esigner
Configuration
Publish the configuration file using the following command:
php artisan vendor:publish --provider="Dekate\\Esigner\\Providers\\CanvasSignerServiceProvider" --tag="dk_signer:config"
This will publish config/dk_signer.php where you can configure settings such as storage disk, encryption key, and route prefix.
Migrations
Run the migrations to create the necessary tables for document types and signatures:
php artisan migrate
Publishing Assets
Publish the package's public assets (CSS and JavaScript files), run the following command:
php artisan vendor:publish --provider="Dekate\Esigner\Providers\CanvasSignerServiceProvider" --tag="dk_signer:public"
Important: The frontend components of this package (e.g., signature pads, styling) will not function correctly without these assets being published. Ensure this command is run after installation and during deployment.
This will copy the compiled dk_signer.css and dk_signer.js files to public/vendor/dk_signer.
Usage
Routes
The package registers the following routes:
/dk_signer(configurable viadk_signer.route_prefixinconfig/dk_signer.php)GET /dk_signer: Displays the signature pad for creating new signatures.POST /dk_signer: Handles the submission of signatures.GET /dk_signer/type: Displays the form for managing signature types.POST /dk_signer/type: Handles the creation of new signature types.
dekate/esigner 适用场景与选型建议
dekate/esigner 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 0 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 07 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dekate/esigner 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dekate/esigner 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 26
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-28