Registry / http-client / srmklive-paypal

srmklive-paypal

JSON →
library3.1.1phppackagistunverified

PayPal REST API client for Laravel and standalone PHP.

composer require srmklive/paypal
INSTALL
IMPORT
SIG · SRMKLIVE-PAYPAL
S
srmklive-paypal
http-clientphpv3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PayPal
use Srmklive\PayPal\Facades\PayPal;

Create a PayPal order using the facade.

use Srmklive\PayPal\Facades\PayPal; $provider = PayPal::setProvider(); $token = $provider->getAccessToken(); $order = $provider->createOrder([ 'intent' => 'CAPTURE', 'purchase_units' => [ ['amount' => ['currency_code' => 'USD', 'value' => '100.00']] ] ]);
Debug
Known issues
breakingRequires PHP 7.4+ and Laravel 6+.
fix
Upgrade PHP/Laravel or use older package version.
affects: >=3.0.0
Upgrade
Version history
3.1.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
OpenAI (training)
1
Resources
srmklive-paypal — pip install srmklive-paypal · libregistry