- Is yandex-money/yandex-money-sdk-php a Laravel package?
- No. It is a vendor PHP SDK for Yandex.Money/YooMoney, not a Laravel-native package, so it does not provide Laravel service providers, facades, configuration publishing, or framework-specific webhook handling. In Laravel, keep it behind an application-owned payment adapter rather than using SDK classes directly in controllers, models, or domain services.
- How do I install yandex-money/yandex-money-sdk-php in a Laravel app?
- Install it with Composer after a compatibility spike that checks PHP version, required extensions, PSR/HTTP behavior, and dependency conflicts with your Laravel application. Then bind a PaymentGateway interface in the service container and keep all SDK calls inside one adapter. Store credentials in environment variables or a secret manager, not in committed config files.
- Which Laravel and PHP versions are supported by this YooMoney SDK?
- The provided metadata does not confirm supported Laravel or PHP versions, so you must inspect the package composer.json and test against your target runtime. Check for ext-curl, ext-json, Guzzle or PSR dependencies, autoloading, and any global state or static configuration assumptions. Confirm that installing it does not force downgrades in the main Laravel application.
- Does this SDK support the current YooMoney API or only legacy Yandex.Money endpoints?
- That is a key compatibility question and must be validated before build. The package is associated with Yandex.Money/YooMoney, and API deprecation or rebranding mismatch is a high risk. Run a sandbox spike against the current YooMoney API and confirm which payment methods and endpoint versions are actually supported.
- Does the SDK handle OAuth authorization for YooMoney?
- The package description says it simplifies OAuth authorization, wallet operations, and payment processing through client classes and request handling. It does not remove your responsibility for token storage, refresh, revocation, and secure secret management. In Laravel, keep OAuth token lifecycle logic in the adapter or a dedicated service, not scattered across controllers.
- Does yandex-money-sdk-php provide webhook signature verification and idempotency keys?
- The provided evaluation does not confirm webhook signature verification or built-in idempotency support, so assume you may need to implement or verify both yourself. Payment creation and refunds should use idempotency keys, and webhook receipt should include authenticity checks and replay protection. Validate this explicitly in the sandbox before enabling production traffic.
- Is this YooMoney SDK safe to use for production payments in Laravel?
- Treat it as high risk because the supplied metadata shows no stars, score 0, and zero dependents, which means public adoption and maintenance signals are effectively absent. Use an isolated adapter, wrap SDK exceptions, add retries, logging, idempotency, and reconciliation, and avoid storing card data. Validate license, API version, sandbox support, and compliance constraints before production use.
- How should I structure a Laravel integration with this payment SDK?
- Bind a PaymentGateway interface in the Laravel service container and put all SDK calls inside a single adapter. Expose only application DTOs and domain events such as PaymentInitiated, PaymentSucceeded, and RefundCompleted to the rest of the codebase. This isolates API version changes, credential handling, webhook parsing, and future replacement with direct HTTP calls.
- Does the SDK support refunds and payment reconciliation?
- The package targets wallet operations and payment processing, but refund and reconciliation coverage is not confirmed by the supplied context. You should verify refund support in a sandbox and implement idempotency, currency handling, and reconciliation reports in your application layer. Do not assume the SDK handles accounting correctness or settlement matching for you.
- What should I do if yandex-money-sdk-php is unmaintained or incompatible?
- Because adoption and maintenance signals are absent, plan for an internal fork or replacement with direct YooMoney HTTP calls behind the same adapter interface. Run the adapter in shadow mode against test transactions before enabling production traffic. Avoid a big-bang migration, and document a fallback path and a named owner for the payment integration.