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

Yookassa Sdk Php Laravel Package

yoomoney/yookassa-sdk-php

PHP SDK for integrating YooKassa (YooMoney) payments into your app. Create payments, process refunds, manage receipts, handle webhooks, and call API methods through a convenient client. Simplifies checkout and payment workflows in PHP and Laravel projects.

Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for payment integration: This SDK is a thin, MIT-licensed wrapper over YooKassa's REST API. For a PHP/Laravel product sold into Russia/CIS, it collapses days of plumbing (auth headers, idempotency keys, payment object models, webhook payload shapes) into a dependency — a legitimate "buy" answer for the transport and mapping layer, while you still own checkout UX, reconciliation, and compliance logic.
  • Feature/roadmap scoping: It maps cleanly to the payment feature set you'd put on a roadmap — creating payments, confirming via redirect/3DS, capturing vs. authorized payments, refunds, and receipt data for 54-FZ. Use its class surface as a checklist of what your MVP payment feature must cover, even if you don't adopt the code.
  • Market-entry decision: If Russian/regional payment acceptance isn't already on the roadmap, this package is not a reason to add it — it's a cost-deflator if that decision is made for commercial reasons. Tie adoption to a market/revenue decision, not to the SDK's existence.
  • Maintenance-ownership decision: Marked archived, last release 2022-03-22. The real PM decision is not "adopt or not" but "adopt as a frozen internal fork with a named owner, or hand-roll a ~300-line client." Low stars (75) and low opportunity score reinforce that this is not a de-facto standard with community momentum behind it.
  • Vendor and exit-strategy framing: Because the API is plain REST/JSON, the SDK is replaceable. This supports deciding to keep payment integration behind an internal interface so a future switch to another provider or a self-maintained client is a sprint, not a quarter.

When to Consider This Package

Consider it when:

  • You are building PHP/Laravel and need YooKassa specifically — the commercial decision to accept YooKassa payments (Russian cards, SBP, wallets) is already made.
  • Your team is small and time-to-first-payment dominates over long-horizon maintenance; a working reference implementation beats a from-scratch client.
  • You are comfortable treating it as a vendored/forked snapshot: pin the version, take ownership, and patch it yourself for newer PHP versions and API changes.
  • You need a readable spec of the API's object model — even as a non-dependency, it's useful documentation for writing your own Laravel-native client.

Look elsewhere or plan to build when:

  • Long-term maintenance matters more than initial speed. An archived SDK without security or compatibility releases is a liability in a payment path, which is high-blast-radius.
  • You need current YooKassa capabilities shipped after 2022 — newer payout flows, SBP/QR changes, or revised receipt handling. Assume drift until proven otherwise.
  • Your stack is PHP 8.2+ / Laravel 10+ and you need a supported, tested dependency rather than code you must validate and patch.
  • You want a Laravel-idiomatic experience — config publishing, a service provider, facades, queued webhook handling, testing fakes. This SDK gives you none of that; expect to write that layer yourself.
  • Compliance is load-bearing (54-FZ receipts, recurring/auto-payments, dispute handling). Compliance logic should live in your code with tests, not be inherited from an unmaintained package.

How to Pitch It (Stakeholders)

To executives: YooKassa is a viable acceptance route for Russian-market revenue, and this MIT-licensed SDK removes the cheapest part of the work — the API plumbing — at zero license cost. The caveat is ownership: the package is archived with no releases since March 2022, so we should treat it as a starting point we take responsibility for, not a supported vendor dependency. Net recommendation: proceed only if the Russian-market opportunity justifies a small, permanently-owned integration surface; the payment provider decision is the real decision, and this package merely makes it cheaper to start.

To engineering: It's a thin, readable PHP client for a REST API — payments, confirmation, capture, refunds, receipts. No Laravel bindings, tests we can trust, or post-2022 updates; PHP version and API drift are on us. Proposal: either pin it and own a fork with a named maintainer, or lift its object model into ~a few hundred lines of our own client behind a PaymentGateway interface, with retries, idempotency, and webhook verification written and tested by us. The second option is modestly more work up front and materially cheaper over the product's life — and it keeps us free to swap providers later.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource