osama-dev/filament-calculator-action
A Filament action that opens a calculator modal for numeric fields, letting users perform quick calculations and insert the result directly into forms. Useful for prices, quantities, discounts, and totals.
Architecture fit
Action that opens a calculator and writes a result into form/table state. It does not touch Eloquent models, migrations, service providers of consequence, or persistence. That is the right shape for a low-commitment dependency — the blast radius is a single interactive control.Integration feasibility
composer require, then either a panel plugin registration or direct use of the action in a resource schema. Surface area is small enough to read end-to-end before adopting — a TPM should require exactly that.filament/actions package and renamed several schema-builder APIs. A single codebase serving both major versions is plausible but must be confirmed against the specific pinned versions in our composer.json, not against the README.Technical risk
Key questions
wire:model, or only mutate client state until blur/submit?->visible(), ->authorized()), or does it bypass policy checks?Stack fit
Migration path
composer remove and a rewritten action.Compatibility
filament/filament and confirm the filament/actions split for v4 before anything else.script-src policy. Not a blocker, but it is the kind of thing that surfaces late in a release cycle.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
TPM recommendation
Score (0.16) and adoption signals (14 stars, 0 dependents) place this in "evaluate, do not standardize" territory. Approve a short spike against one concrete admin workflow. Default to an internal fork or a hand-written Alpine action unless the spike shows the rounding and state-sync contracts are already sound. The decision should hinge on build-vs-own cost, not on feature novelty — server-side recomputation and rounding discipline are required in either path.
How can I help you explore Laravel packages today?