PHPackages                             lancodev/lunar-paypal - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. lancodev/lunar-paypal

ActiveLibrary[Payment Processing](/categories/payments)

lancodev/lunar-paypal
=====================

This is my package lunar-paypal

0.16(1y ago)13183[2 issues](https://github.com/lancodev/lunar-paypal/issues)[4 PRs](https://github.com/lancodev/lunar-paypal/pulls)MITPHPPHP ^8.2CI passing

Since Feb 21Pushed 2mo agoCompare

[ Source](https://github.com/lancodev/lunar-paypal)[ Packagist](https://packagist.org/packages/lancodev/lunar-paypal)[ Docs](https://github.com/lancodev/lunar-paypal)[ RSS](/packages/lancodev-lunar-paypal/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (14)Versions (30)Used By (0)

Lunar PayPal
============

[](#lunar-paypal)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c55ee299357b0974bfe73bf71f28d924cfa7d4e826591153d303e4565459b857/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c616e636f6465762f6c756e61722d70617970616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lancodev/lunar-paypal)[![GitHub Tests Action Status](https://camo.githubusercontent.com/b775087268adcf7c0bf4c4a0727566184b69e010154bf302846e58466a5a43f2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c616e636f6465762f6c756e61722d70617970616c2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/lancodev/lunar-paypal/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/6ff2de0c00bdffb46adcee34e89f4f43461c4c7c70b9ce44a50d41c21ce03052/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c616e636f6465762f6c756e61722d70617970616c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/lancodev/lunar-paypal/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/10317ead2b15d82c39a4107ec4d2dc13d7d21e3b9a1d980281bbaaecdea40150/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c616e636f6465762f6c756e61722d70617970616c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lancodev/lunar-paypal)

A custom PayPal payment driver for the [Lunar](https://lunarphp.io) framework.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require lancodev/lunar-paypal
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="lunar-paypal-views"
```

Usage
-----

[](#usage)

The package ships with a checkout component that allows payment via PayPal Express checkout or via on-site credit card payment.

To add the component to your checkout page, add the following to your checkout page:

```

```

where `$cart` is the cart instance and `route('checkout-success.view')` is the route to redirect to after a successful payment.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Kyle Anderson](https://github.com/lancodev)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance43

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 54.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~26 days

Recently: every ~87 days

Total

23

Last Release

653d ago

PHP version history (2 changes)0.1PHP ^8.1

0.16PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2c64e9886454fad64ed6f96df5e98cb76cf5c12604f794d33bea568cb71ef4d?d=identicon)[kylekanderson](/maintainers/kylekanderson)

---

Top Contributors

[![kylekanderson](https://avatars.githubusercontent.com/u/24831484?v=4)](https://github.com/kylekanderson "kylekanderson (33 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (16 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (12 commits)")

---

Tags

laravellancodevlunar-paypal

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/lancodev-lunar-paypal/health.svg)

```
[![Health](https://phpackages.com/badges/lancodev-lunar-paypal/health.svg)](https://phpackages.com/packages/lancodev-lunar-paypal)
```

###  Alternatives

[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M46](/packages/spatie-laravel-pdf)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

8120.4k](/packages/danestves-laravel-polar)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/laravel-payment-gateways

A simple Laravel API implementation for all payment providers like Paystack, Flutterwave, &amp; Paypal etc.

1105.2k](/packages/stephenjude-laravel-payment-gateways)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
