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

Saferpay Bundle Laravel Package

valiton/saferpay-bundle

Symfony bundle that integrates the Saferpay payment gateway into your application, offering configuration and services for handling Saferpay transactions, payment pages, and callbacks so you can accept online card payments without writing the integration glue yourself.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. valiton/saferpay-bundle is a Symfony bundle, not a Laravel package. It is built around Symfony's DependencyInjection component (a DependencyInjection/ extension, service definitions, configuration tree) and targets an abstracted payment layer via valiton/core-payment-bundle. Laravel's service container, facades, and package discovery do not map cleanly onto Symfony bundle conventions; making it usable inside a Laravel app requires an adapter that boots the Symfony container, binds the bundle's services into Laravel's container, and bridges configuration. That is real work with no upstream precedent. The dependency on CorePaymentBundle also means you inherit a second abstraction layer you did not choose and cannot easily replace.

Integration feasibility. Low. Beyond the framework mismatch, the bundle sits on top of a payment abstraction designed for another project's domain model. You will spend time reverse-engineering CorePaymentBundle's contracts (payment instruction, transaction, gateway) before you can even evaluate the Saferpay mapping. The package has effectively no community signal: 1 star, 0 dependents. That means no field reports on compatibility with current Saferpay JSON API versions, no example Laravel integrations, and no peer support when the mapping breaks.

Technical risk. High for a payment-critical path. Key risks: (1) API drift — Saferpay's Transaction/PaymentPage APIs have versioned endpoints and required fields; an unmaintained bundle is very likely pinned to a legacy version. (2) Dependency rot — Symfony-era bundles typically constrain PHP 7.x, older Guzzle, and Symfony 3/4 components, which conflict with a modern Laravel (PHP 8.1+, Laravel 10/11) dependency graph. (3) Security exposure — payment gateway code touches credentials, webhook signatures, and redirect/PaymentPage flows; abandoned code in that path is a compliance and audit concern. (4) License and provenance — verify the license before any fork.

Key questions. Which Saferpay API version and endpoints does the bundle target? What are its PHP/Symfony/Guzzle constraints? Is CorePaymentBundle itself maintained, and under what license? Does it cover the PaymentPage (hosted) flow, the Transaction (server-side) flow, or both? How are webhooks/notifications signed and verified? Is there any test coverage against Saferpay's sandbox? What is the actual commit history and last release date? Who owns the upstream — Valiton the agency, or the community?

The scoring (0.155 overall, 0 dependents) aligns with the qualitative read: low opportunity, high friction, essentially no adoption evidence.

Integration Approach

Stack fit. Poor as a drop-in. This is a Symfony bundle for a Symfony app. For a Laravel codebase, treat it as reference material rather than a dependency: read the bundle's Saferpay request/response mapping, then implement against Saferpay's documented REST API using Laravel's HTTP client and a thin service class. Saferpay's JSON API is straightforward enough that a direct client is smaller and more legible than a framework bridge plus an inherited abstraction layer.

Migration path. Two viable paths, neither of which is "install the package":

  1. Fork-and-refactor (not recommended for payments). Vendor the repo, strip the Symfony DI extension, replace CorePaymentBundle contracts with your own payment interface, modernize dependency constraints, add tests. This is weeks of work to reach a state a fresh integration would reach in days, and you own the maintenance forever.
  2. Direct Saferpay integration (recommended). Use Saferpay's official documentation and JSON API as the source of truth. Build a small SaferpayClient service (PaymentPage initialize/authorize/capture, Transaction endpoints, notification signature verification), bind it through a Laravel service provider, and back it with Http::fake() tests. This avoids both the Symfony bundle and the CorePaymentBundle dependency.

Compatibility. Verify PHP version constraints (expect PHP 7.x era), Symfony component versions (likely 3/4), Guzzle version, and any PSR/http-message pins. These will almost certainly conflict with Laravel 10/11 and modern PHP. Also check whether the bundle's Composer type is symfony-bundle — that alone will not auto-register under Laravel.

Sequencing. (1) Confirm Saferpay merchant account, sandbox credentials, and which API version your contract supports. (2) Spike a direct HTTP integration against the sandbox covering the PaymentPage flow and notification verification. (3) Only if the spike surfaces a gap, revisit this bundle's source as a reference for field mapping. (4) Do not sequence this package ahead of a direct client — it will not shorten the critical path.

Operational Impact

Maintenance. Effectively zero upstream maintenance. With 1 star and 0 dependents there is no contributor base, no issue triage, and no release cadence. Any adoption implies you become the maintainer. For payment code, that is a standing liability: every Saferpay API change, PHP upgrade, and security advisory becomes your ticket.

Support. No community to escalate to. Saferpay/Worldline support will help with their API, not with this bundle's mapping. Internal support requires someone who understands both Symfony bundle internals and the payment domain — a narrow and expensive profile.

Scaling. Runtime scaling is dominated by the Saferpay gateway, not by this library; the bundle adds negligible throughput cost. The real scaling constraint is operational: long-lived workers (Octane, queue workers) plus an unfamiliar Symfony container bootstrapped inside a Laravel process is a debugging and memory-lifetime risk you would not want on a payment path.

Failure modes. Legacy API version silently deprecated by Saferpay; unhandled new response codes or required fields; signature/notification verification that no longer matches current Saferpay behavior; dependency CVEs in pinned Guzzle/Symfony components; container-bridge failures at boot under Octane; and — worst case — payment states (authorize/capture/refund) mis-mapped because the CorePaymentBundle abstraction does not match your order model. Each of these manifests as either failed payments or, more dangerously, inconsistent transaction state.

Ramp-up. For a Laravel team, ramp-up on this package is steep and mostly wasted: time spent learning Symfony bundle conventions and CorePaymentBundle contracts does not transfer to the actual work, which is understanding Saferpay. Direct integration requires learning Saferpay's API (a few days) plus Laravel HTTP client patterns the team already knows.

Recommendation. Do not adopt valiton/saferpay-bundle. It is an unmaintained Symfony bundle with an inherited abstraction layer, no adoption, and elevated risk in a security-sensitive domain. Use it only as a reading reference for Saferpay field mapping, and build a thin, tested Laravel-native Saferpay client against the current API.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin