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

Laravel Idempotency Laravel Package

wendelladriel/laravel-idempotency

Add idempotency to Laravel routes with middleware that stores responses keyed by an idempotency header, preventing duplicate requests and making retries safe. Configurable storage and locking help protect payments, orders, and other critical operations.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature prioritization: Enables reliable “exactly-once” behavior for critical POST endpoints (payments, orders, webhooks, form submissions) without building custom idempotency infrastructure.
  • Roadmap planning: Can be added incrementally to existing Laravel APIs; v1.5.1’s fingerprint fix reduces false duplicate detection, lowering risk for payment and retry-sensitive flows.
  • Build vs. buy: Strong candidate to buy/adopt rather than build: it provides middleware, configurable storage, and request fingerprinting with active maintenance.
  • Use cases: Mobile/network retries, client double-submits, webhook deduplication, distributed job retries, and any non-idempotent operation where duplicate execution is costly.

When to Consider This Package

  • Consider adoption when: You run Laravel APIs with non-idempotent POST endpoints; you need a lightweight, framework-native idempotency key middleware; your team values quick integration over bespoke infrastructure; you can use Laravel cache/database for key storage.
  • Look elsewhere when: You need cross-service or multi-datastore idempotency guarantees beyond a single Laravel app; you require enterprise support/SLAs; you have highly custom fingerprinting or storage requirements; or you need formal compliance certifications not covered by a community package.

How to Pitch It (Stakeholders)

  • Executives: This package reduces duplicate transactions, chargebacks, and support tickets caused by retries—directly protecting revenue and customer trust. The v1.5.1 patch is a low-risk bug fix that improves request fingerprint accuracy.
  • Engineering: A maintained Laravel middleware for idempotency keys; v1.5.1 excludes fallback input from request fingerprints, avoiding incorrect duplicate detection. Dependency bump only—no breaking changes. Easy to adopt incrementally and test behind feature flags.
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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox