fd6130/billplz-bundle
A Laravel bundle for integrating the Billplz payment gateway into your PHP applications. Simplifies creating bills, handling payment callbacks, and verifying transactions.
Architecture fit
billplz-bundle is a thin SDK/adapter for the Billplz payment gateway (FPX online banking, card, e-wallet) targeted at the Malaysian market. It belongs behind an internal PaymentGateway abstraction at the edge of the domain — it should not leak Billplz DTOs into order/billing models.-bundle naming convention is a Symfony inheritance signal. Verify whether this is a Symfony bundle with a Laravel service provider, or a genuine Laravel package. This is the single largest architectural unknown and changes the integration cost materially.Integration feasibility
x_signature) verification, redirect URL construction.Technical risk
function f(Type $x = null). That tells us: the codebase predates PHP 8.1 hardening and was likely written/tested against PHP 7.x or early 8.0.E_ALL promoted to exceptions in CI or Laravel's debug config) that noise can become a build break.Key questions
^8.1/^10/^11 in composer.json, or merely tolerate them?x_signature verification implemented, using a timing-safe comparison, and is it enforced by default rather than opt-in?Stack fit
^7.4|^8.0 is a latent problem when we later bump the platform.Migration path
.env committed), bind config to environment-specific collection IDs.Compatibility
composer update plus a full suite re-run on the target PHP version should be the entire change. No application code edits expected."1.0.3") rather than a floating ^1.0 — with one maintainer and sparse releases, an unreviewed minor bump reaching production payment flows is not a trade we want.Sequencing
PaymentGateway interface + value objects; implement a Billplz adapter around the package.get bill for any local transaction stuck pending beyond N minutes (covers the "gateway created the bill, our request timed out" orphan case).Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?