Weave Code
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

Gateway Laravel Laravel Package

fahipaydev/gateway-laravel

Laravel 13+ integration for the FahiPay payment gateway (Maldives). Create and query transactions, handle redirects and callbacks, verify signatures, track payments via migrations/models, and use events/facades. Includes test mode and install artisan command.

View on GitHub
Deep Wiki
Context7
1.0.0

Added

  • FahiPay payment creation via createTxn API and hosted payment page redirect.
  • Signed callback validation (SHA1/base64 per FahiPay specification) with constant-time comparison and replay protection via terminal payment states.
  • Optional REST API (create/show/verify) with admin endpoints (list/update/delete) disabled by default behind an authenticated middleware stack.
  • Webhook endpoint authenticated by callback signature, rate limited by default.
  • Livewire fahipay-pay-button and fahipay-payment-modal components.
  • Payment expiry job that verifies status with the gateway before failing pending payments, recovering ones that completed out-of-band.
  • Events for payment initiated/completed/failed/cancelled, model observer, mail and notification classes, helper functions, and console commands.
  • PHPStan (larastan) level 6 static analysis and Pint code style, enforced in CI across PHP 8.2–8.4 and Laravel 11–12.

Security

  • Payment status transitions are atomic (pessimistic locking) and COMPLETED is terminal — replayed or late failure callbacks cannot reverse a confirmed payment.
  • Callback/redirect URLs are restricted to a configurable host allow-list.
  • Unsigned success callbacks are rejected; success callbacks require an approval code.
  • Secrets are never included in API responses or error messages.
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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony