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

Laravel Psp Laravel Package

jeroennoten/laravel-psp

A Laravel package that provides a unified payment service provider layer, letting you integrate and switch between payment gateways through a consistent API for creating, handling, and tracking payments in your application.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. The package presents two mutually exclusive identities and this must be resolved before any other evaluation. Repository metadata says "Laravel Package Service Provider for autoloading dependencies of packages in development" — a dev-time autoload/discovery utility. The supplied description.md says it is a driver-based abstraction for Payment Service Providers with a unified payment API, facade, and extensible contracts. These cannot both describe the same artifact. The v2.0.2 release note ("Also support having zero packages") is consistent with the package-autoloading interpretation and inconsistent with a payment gateway abstraction — payments do not arrive as a plural "packages" collection in that framing. As TPM, trust the repository metadata and release note; treat the payment description as contaminated or fabricated intake data and correct the record.

Integration feasibility. Low under either interpretation, for different reasons. If it is the autoload utility: last release June 2016, which predates Laravel 5.5's native package discovery (2017) and Composer 2. Modern repositories path/VCS entries, autoload-dev, and composer dump-autoload cover most of the stated use case. The package is therefore largely superseded for any current stack and would only be relevant to a legacy Laravel 5.x maintenance surface. If it is the payment abstraction: infeasible — a 7-star, zero-dependent, nine-year-dormant library cannot be justified anywhere in a payment path.

Technical risk. High regardless of identity. Specific risks: no maintainer activity since 2016; no security response capability; likely PHP 5.6/7.0-era illuminate/* constraints incompatible with Laravel 9/10/11; zero dependents means no field validation and no upstream pressure to fix defects; a single one-line release note is the entire observable change history; and the documentation conflict means supplied integration guidance cannot be trusted.

Key questions.

  • Which artifact are we actually evaluating? Confirm from composer.json (require), src/, and the repository README — not from description.md.
  • What PHP and illuminate/* version ranges are declared, and does the package use the pre-5.5 discovery mechanism or PackageManifest?
  • Does it conflict with Laravel's native package discovery via duplicate provider registration or facade alias collision (e.g., PackageManifest)?
  • Does it break under Composer 2 optimized autoloaders or classmap-authoritative mode?
  • Is the zero-packages path covered by tests, or is it a one-line fix with no regression coverage?
  • Is there a maintained fork or a direct successor (Composer path repositories, dump-autoload, native discovery)?
  • If the payment interpretation is correct: what is the compliance and security story for an unmaintained payment library with no owner?

Integration Approach

Stack fit. No fit for a current Laravel 10/11 stack under either interpretation without a fork and an ownership commitment. Best case is a legacy Laravel 5.x context. Confirm PHP and illuminate/* constraints before spending any engineering time on a spike.

Migration path. Resolve the identity conflict first, then branch. For the package-autoload use case, compare directly against Composer path repositories, autoload-dev, composer dump-autoload, and Laravel's native discovery — in most 2017+ projects this is a deletion decision, not an adoption decision. For the payment use case, benchmark against maintained PSP abstractions and do not migrate to this package.

Compatibility. Verify (1) declared PHP and Laravel constraints against our fleet matrix; (2) whether registration is via the legacy config/app.php providers array or auto-discovery; (3) whether any facade alias collides with Laravel core; (4) whether filesystem or classmap scanning survives Composer 2 optimized/authoritative autoloaders; (5) whether a published config schema exists and differs from the version documented.

Sequencing.

  1. Identity resolution — read composer.json and src/ from the repository directly; discard the incorrect source and correct the intake record. Do not proceed until this is closed.
  2. Version matrix — enumerate supported PHP/Laravel combinations against our standard build images.
  3. Alternatives spike — Composer path repositories plus native discovery for the utility case; a shortlist of maintained PSP abstractions for the payment case.
  4. Throwaway install — only if steps 1–2 clear, install on the oldest supported Laravel version and exercise the zero-package path plus every command/entry point.
  5. Decision memo — adopt / fork / replace / reject, with a named owner and a sunset condition for any fork.

Operational Impact

Maintenance. High if adopted. No release cadence since 2016, no maintainer, MIT-licensed so forkable — but forking means we own security patches, PHP/Laravel upgrades, and Composer compatibility indefinitely, for a capability that modern Composer and Laravel native discovery already provide. That trade is difficult to justify for a dev-time utility.

Support. Weak. Seven stars and zero dependents means no community, no Stack Overflow corpus, no third-party tutorials, and no upstream escalation path. All support burden lands on the integrating team. The documentation mismatch compounds this: first-line support cannot trust the supplied description and must read source to answer basic questions.

Scaling. Neutral for the autoload use case — it is dev-time only. Confirm the boot cost does not include per-request filesystem scanning; there is no evidence either way. For the payment-abstraction interpretation, scaling is moot because adoption should be rejected on maintenance grounds.

Failure modes.

  • Documentation mismatch causes the wrong team to integrate the wrong package — the highest-probability failure and the cheapest to prevent.
  • Composer 2 optimized or authoritative autoloader incompatibility surfacing as class-not-found at deploy rather than in local dev.
  • Duplicate or shadowed provider registration colliding with Laravel's native discovery.
  • Empty-package handling fixed in one code path but not all (single-line release note, no visible test evidence) — exercise each entry point, not just the primary one.
  • Late discovery of PHP 8+ incompatibility mid-migration, stranding a partially integrated service.
  • If the payment interpretation is correct: any defect is unfixable upstream, which is a category-level disqualifier rather than a risk to be mitigated.

Ramp-up. Low for comprehension — a Laravel-fluent engineer will read the source in under an hour. The TPM-level effort is concentrated in identity resolution, the alternatives comparison, and the adopt/reject decision, not in coding. Budget approximately one day for the spike and half a day for the alternatives write-up. Do not schedule integration effort until the identity conflict is closed and a named owner has accepted the fork obligation, if any.

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.
coleus/frame
thtg88/journalism
filagora/filagora-ai-forums
rlacerda83/query-parser
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