rez1pro / lara-paypal
A Laravel PayPal integration package
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/rez1pro/lara-paypal
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.8
This package is auto-updated.
Last update: 2025-12-07 19:48:06 UTC
README
lara-paypal is a simple and developer-friendly package to integrate PayPal payment processing into your Laravel application. This package supports subscriptions and payment processing through PayPal's API.
Table of Contents
Features
- 🔌 Seamless integration with PayPal API
- 🔄 Subscription management
- 🏗️ Sandbox environment support
- ⚡ Simple and intuitive API
Installation
composer require rez1pro/lara-paypal
- Add the following environment variables to your
.envfile:
LARA_PAYPAL_CLIENT_ID=your-paypal-client-id
LARA_PAYPAL_SECRET=your-paypal-secret
LARA_PAYPAL_MODE=sandbox # or live
LARA_PAYPAL_SUBSCRIPTION_CANCEL_CALLBACK=https://your-domain.com/cancel-callback
LARA_PAYPAL_SUBSCRIPTION_RETURN_CALLBACK=https://your-domain.com/return-callback
PAYPAL_INITIAL_PLAN_ID=your-plan-id # Required for subscriptions
- Publish the configuration file:
php artisan vendor:publish --provider="LaraPaypal\LaraPaypalServiceProvider"