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 Laravel Package

p2flux/laravel

A Laravel integration for P2Flux that registers a service provider, facade, and publishable config, making the P2Flux client available throughout your app. Install via Composer, publish the config, and use it in controllers, jobs, and Artisan commands.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Hosted-checkout UX: v0.5.1 exposes return_url on P2Flux::createPayment() / createPaymentLink() and returns checkout_url, so product can design a flow that sends buyers back to your site after hosted payment instead of leaving them on the provider page.
  • Feature/roadmap scoping: Treat this as a small, low-effort checkout-flow enhancement if the app already uses P2Flux — useful for confirmation pages, order-status pages, or post-payment next steps.
  • Build vs. buy: Strengthens the case for using the Laravel package/SDK wrapper rather than building custom P2Flux HTTP integration, since the facade now passes through the new return and checkout URL fields.
  • Use cases: Standard redirect checkout, payment-link flows such as email/invoice links, and returning buyers to merchant-controlled pages after payment. It is evidence of hosted checkout/payment-link support, not evidence of unmentioned capabilities like subscriptions, refunds, embedded checkout, or webhook handling.
  • Release management: The change allows p2flux/sdk-php 0.13 and reports no other behavioral changes. PMs can treat it as a low-risk dependency/feature passthrough, subject to normal compatibility and flow testing.

When to Consider This Package

  • Consider it when the application is Laravel/PHP, is committed to or evaluating P2Flux, and needs a thin facade for creating payments or payment links with hosted checkout.
  • Strong fit when you specifically need return_url support and checkout_url passthrough to control post-payment redirect behavior and hosted-checkout redirection.
  • Consider it when sdk-php 0.13 compatibility is useful and you want to avoid maintaining custom P2Flux glue code.
  • Look elsewhere if you are not using P2Flux, need a multi-gateway abstraction, require embedded/custom checkout, or need payment lifecycle capabilities not exposed by the facade/SDK without additional integration work.
  • Reassess if your PHP/Laravel dependency constraints conflict with sdk-php 0.13, if dependency policy requires deeper vendor review, or if the product needs capabilities beyond hosted checkout and payment links.

How to Pitch It (Stakeholders)

  • Executives: v0.5.1 is a small, non-breaking Laravel package update that improves hosted-checkout flow by letting buyers return to our site after payment and by exposing the checkout URL for redirect. It reduces custom payment-integration effort and supports a smoother checkout/payment-link experience.
  • Engineering: The dependency constraint now allows p2flux/sdk-php 0.13. The facade passes return_url into createPayment() / createPaymentLink() and exposes checkout_url from the response; no other changes are noted. Upgrade risk appears low, but verify Composer constraints and test redirect/return behavior.
  • Product: Scope this as a focused UX/flow improvement rather than a platform rewrite. Validate the return-page experience and post-payment state handling, and do not assume payment features that the release notes do not mention.
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.
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
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource