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

Payment Laravel Package

shetabit/payment

Shetabit Payment is a Laravel package that unifies multiple Iranian payment gateways behind one simple API. It supports popular drivers like Zarinpal and IDPay, manages callbacks, verification, and transactions, and lets you configure or swap gateways easily.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for payment initiation: Use shetabit/payment as a low-cost, MIT-licensed abstraction layer instead of building gateway-specific payment initiation, callback handling, and driver switching from scratch. This is most relevant when the product needs several payment providers behind one interface.
  • Regional or multi-gateway checkout roadmap: Supports sequencing payment-provider coverage by market. The driver model lets product and engineering add or swap gateways without redesigning checkout flows, subject to confirming which drivers are production-ready.
  • Gateway redundancy and conversion resilience: A multi-driver package enables fallback routing or A/B testing between providers—useful for reducing failed payments, improving authorization rates, and responding to provider outages.
  • Scope control for small teams: Lets the team defer building a bespoke payment orchestration layer. Engineering can focus on checkout UX, order lifecycle, reconciliation, and fraud controls rather than low-level gateway plumbing.
  • Market-entry experiments: Useful for validating demand in a region where this package’s supported gateways operate, before committing to a heavier payment platform or enterprise provider.
  • Not a substitute for payment operations: It does not, by itself, solve settlement reconciliation, refunds workflows, chargeback handling, PCI scope, subscription billing, or marketplace split payments. Those remain product decisions and likely custom work.

When to Consider This Package

Consider it when:

  • The product is built on Laravel/PHP and the team is comfortable owning a package-level dependency.
  • The target market’s payment providers are covered by the package’s drivers, and the team has verified driver quality, callback verification, and error handling.
  • The near-term need is payment initiation and multi-gateway abstraction, not a full payment operations platform.
  • The team values MIT licensing, a simple integration surface, and community traction—roughly 958 GitHub stars suggests meaningful but not dominant adoption.
  • Engineering can perform due diligence on the repository, maintainer responsiveness, release cadence, Laravel version compatibility, and security posture. The “unknown repository” signal and unusual future-dated release require verification before adoption.
  • The product can tolerate integrating at the package layer and owning fallback behavior, observability, and incident response around payments.

Look elsewhere when:

  • The product requires enterprise-grade payment orchestration, formal SLAs, vendor support, or certified compliance documentation.
  • The target market uses gateways not covered by this package, or requires global providers such as Stripe, Adyen, or Braintree with mature SDKs.
  • The roadmap includes complex billing—subscriptions, usage-based billing, invoicing, tax, dunning, marketplace payouts, or multi-party settlement.
  • The team cannot accept dependency risk from a community package with an unclear repository/maintenance signal.
  • PCI DSS scope, tokenization, fraud scoring, or reconciliation accuracy is a core differentiator and needs a specialized provider.
  • The organization requires a vendor with contractual security review, pen-test reports, and long-term support commitments.

How to Pitch It (Stakeholders)

Executive summary: shetabit/payment is a simple, MIT-licensed Laravel package that abstracts multiple payment drivers behind one integration. It can reduce time-to-market for multi-gateway checkout in supported markets and lower the cost of adding or switching providers. The trade-off is dependency and vendor-risk management: it is a community package, not a supported payment platform, and it does not replace reconciliation, refunds, compliance, or payment operations.

For engineering: Adopt it as an adapter layer, not as the payment domain. Wrap it behind internal interfaces, add integration tests per driver, verify callback signatures and idempotency, instrument failures, and document exit criteria. Confirm Laravel compatibility, driver coverage, release history, and maintainer responsiveness before committing.

For product: It supports faster experimentation with gateways and regional checkout coverage. Prioritize validating the specific drivers and payment methods the roadmap needs; do not assume the package solves subscription, refund, or settlement requirements.

Recommendation: Run a short technical spike and due-diligence review. If driver coverage and maintenance are acceptable, use it to accelerate a Laravel-based multi-gateway launch while retaining an internal abstraction and a clear migration path to a managed payment platform if scale, compliance, or operational complexity increases.

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.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
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