Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Form Handler Signature Laravel Package

3neti/form-handler-signature

A Laravel extension for 3neti/form-handler that adds signature capture, validation, and storage to forms. Accept drawn or uploaded signatures, enforce configurable rules, and handle submissions within your existing form workflows.

View on GitHub
Deep Wiki
Context7

Getting Started

v1.4.0 is best treated as a presentation-policy alignment release: it inherits Form Flow ^1.11 presentation rules, adds bounded tokens, semantic action labels, and inert claim previews while keeping handler execution and validation out of the presentation layer. Start by confirming the package is installed alongside form-flow/form-flow:^1.11, then inspect the package config/service provider and the Form Flow presentation policy resolution points. A good first use case is a read-only claim preview: render the flow with inherited policy, verify action labels are semantic, confirm the preview cannot execute handlers, then wire the real submit path through validation and handler execution separately. The release notes indicate the full package Pest suite passed before release, so use those tests as the first regression baseline.

Implementation Patterns

  • Keep presentation and execution separate: resolve the Form Flow presentation policy, render claim previews from a view model/DTO, and only call handlers after explicit validation.
  • Use semantic action labels from policy/config rather than hardcoding button or action text in Blade/Livewire views.
  • Enforce bounded tokens at the presentation boundary and test both normal and boundary token sizes.
  • Make previews inert by design: no handler dispatch, no validation side effects, and no state mutation during preview rendering.
  • In controllers or Livewire components, validate input first, then invoke the domain handler/action class; do not mix validation or business logic into presentation templates.
  • Reuse inherited Form Flow policy rather than duplicating UI rules locally; this keeps day-to-day form behavior consistent across flows.
  • Add feature tests for policy inheritance, semantic labels, bounded token behavior, inert previews, and the split between validation and handler execution.

Gotchas and Tips

  • Check the Form Flow version constraint carefully: ^1.11 is required for the inherited presentation policy behavior.
  • Inherited policy can override or mask local presentation config; debug the resolved policy, not just the local config file.
  • Bounded tokens should fail safely. Test off-by-one and oversized token cases rather than only the happy path.
  • Do not hardcode action labels; semantic labels are part of the release contract and may come from inherited policy.
  • Verify claim previews are truly inert: no form submission, handler call, or validation side effect should occur while previewing.
  • Keep handler execution and validation separate from presentation to avoid previews accidentally mutating state or surfacing execution errors as UI errors.
  • When debugging, inspect in this order: Form Flow policy resolution, token bounds, action label mapping, preview inertness, then handler/validation wiring.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle