Two clients, one API
Both are thin wrappers over the HTTP API: they normalize result codes and nothing else. Neither is required — anything they do, a plain HTTPS request can do too.
PHP
AVAILABLEServer-side PHP client for payments, verification, recovery, recurring charges and refunds. No framework, no runtime dependencies.
composer require p2flux/sdk-phpp2flux/sdk-phpPackagist · GitHub · Documentation · Examples
JavaScript / TypeScript
AVAILABLEServer-side client for Node, Deno, Bun and Workers. Zero dependencies, types included, ESM only. It belongs in your backend: the browser only opens the hosted checkout and reports back what it saw.
npm install @p2flux/sdk@p2flux/sdknpm · GitHub · Documentation · Examples
Wired into the framework you use
A framework integration is not another SDK. It binds an official client into the framework’s container and adds nothing else — the methods you call are still the SDK’s own.
Laravel
AVAILABLEOfficial Laravel integration built on p2flux/sdk-php: package auto-discovery, dependency injection, an optional facade, publishable config and tested application examples. It installs the PHP SDK for you and adds no routes, migrations, models or scheduler.
composer require p2flux/laravelp2flux/laravelFor stores that already exist
WooCommerce
IN RELEASE PREPARATIONA WooCommerce payment gateway for USDC on Base: one-time orders and subscriptions, with settlement straight to the store owner’s wallet. Version 1.0.0 is published on GitHub and installable from its release ZIP; the WordPress.org listing is still under review, and the sponsored checkout — where the customer pays the network cost in USDC instead of holding ETH — is being finished.
GitHub · Release · Setup guide
Built into real products
Tipster Script · OwnTheGame
PRODUCTION USEP2Flux runs inside the payment and subscription stack of our own products, which is where the one-time and recurring flows are exercised in production rather than only in tests. These are operated by the P2Flux team — they are shown as evidence that the integration path is real, not as third-party endorsements.
What every integration can reach
Live, with a full test environment on Base Sepolia.
One asset, six decimals, settled on chain.
A signed intent, paid from the buyer’s own wallet.
One authorization; your application decides when to collect.
The wallet experience is ours to run, not yours to build.
The verdict that marks an order paid.
Find a settlement whose callback never arrived.
A plain transfer from your wallet, verified by P2Flux.
Customers can pay the network cost in USDC when payment_token sponsorship is available.