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

Mangopay Bundle Laravel Package

troopers/mangopay-bundle

Integrates the MangoPay PHP SDK into Symfony applications, providing configuration and services for wallets, cards, payments, KYC, and payouts. Simplifies setting up MangoPay API clients and marketplace payment workflows.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Poor for a Laravel-first stack. troopers/mangopay-bundle is a Symfony bundle, not a Laravel package. It likely relies on Symfony bundle conventions such as DI extension loading, service configuration, event dispatcher integration, and Symfony version constraints. Laravel’s container, configuration model, and package discovery do not map cleanly to those assumptions.
  • Integration feasibility: Low as a direct production dependency in Laravel. A TPM should treat it as a reference implementation or a candidate only for a Symfony application. For Laravel, the viable path is to evaluate the underlying MangoPay PHP SDK directly, or wrap/fork selected domain logic behind an internal payment adapter.
  • Technical risk: High. The last release was 2019-05-14, stars are low, and dependents are zero. That combination suggests limited ecosystem validation and likely stale compatibility with modern PHP, Symfony, Laravel, and MangoPay API changes. Payments integrations are regulated and security-sensitive; an unmaintained bundle is a poor place to carry compliance, webhook verification, idempotency, and reconciliation logic.
  • Key questions: Which MangoPay API version and official SDK version does it target? What PHP/Symfony versions are supported? Does it cover cards, wallets, payouts, KYC, SCA/PSD2 flows, refunds, disputes, and webhook signature validation? Are there tests and sandbox fixtures? How are errors, idempotency keys, and retries handled? Who maintains it, and what is the security disclosure path? Does it introduce PCI scope or store sensitive payment data?

Integration Approach

  • Stack fit: For Laravel, do not install the Symfony bundle as the primary integration path. Use it to understand MangoPay domain modeling, then implement a thin Laravel service around MangoPay’s official PHP SDK or direct REST calls. Keep payment-provider code behind an internal interface such as PaymentGateway so the application is not coupled to either the bundle or MangoPay-specific models.
  • Migration path: If an existing Symfony application already uses the bundle, isolate it behind an anti-corruption layer before any Laravel migration. If starting in Laravel, run a time-boxed spike against the official MangoPay SDK in sandbox, compare required endpoints, and only fork the bundle if it contains material domain logic not available elsewhere.
  • Compatibility: Check Composer constraints against the target PHP and Laravel versions. Expect friction with PHP 8+, Laravel 10/11, Symfony 5/6+, and modern MangoPay API requirements. Treat any compatibility patch as a fork with ownership, tests, and a maintenance plan, not a transient dependency override.
  • Sequencing: First validate business flows and MangoPay account requirements. Then run a sandbox proof of concept using the official SDK. Next build an adapter layer, webhook verification, idempotency, reconciliation, and audit logging. Only after that decide whether any bundle code should be copied or forked. Do not sequence production payment work around an unmaintained bundle.

Operational Impact

  • Maintenance: High ownership burden if adopted. The package is effectively abandoned for production purposes. A TPM should budget for fork maintenance, dependency upgrades, security patches, and MangoPay API drift. If the team cannot own a fork, reject it as a production dependency.
  • Support: Weak. Low stars and zero dependents mean little community support, few battle-tested deployments, and limited answers for integration failures. Support will come from internal engineering plus MangoPay’s official documentation, not from the package ecosystem.
  • Scaling: Payment scaling is primarily a MangoPay/API and application-architecture concern, not a bundle concern. The bundle itself is unlikely to be the bottleneck, but stale HTTP/client behavior, retry logic, and webhook handling can become operational risks under load. Use stateless API calls, durable queues, idempotency, and reconciliation jobs.
  • Failure modes: Stale API contracts, authentication changes, SCA/PSD2 requirements, webhook signature failures, duplicate payouts, missed refunds, KYC state mismatches, and silent exceptions are the main risks. Payment failures have customer and regulatory impact, so monitoring, alerting, dead-letter queues, and manual reconciliation procedures are mandatory.
  • Ramp-up: Engineers need MangoPay domain knowledge plus Symfony-bundle familiarity to interpret the code. In a Laravel team, that is avoidable ramp-up. Prefer official SDK documentation and an internal adapter, which reduces onboarding cost and keeps payment logic testable and owned by the product team.
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.
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
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle