PHPackages                             lichtblauit/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. lichtblauit/lunar-paypal

ActiveLibrary

lichtblauit/lunar-paypal
========================

Forked lunar-paypal package with additional optimizations

0.17(1y ago)023↓100%1MITPHPPHP ^8.1

Since Apr 22Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (15)Versions (3)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"
```

Add the scripts to your view file, preferably in the livewire/checkout-page view, there you have the cart currency:

```
@paypalScripts({{ $cart->currency->code }})
```

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

24

—

LowBetter than 35% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~0 days

Total

2

Last Release

701d ago

### Community

Maintainers

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

---

Top Contributors

[![kylekanderson](https://avatars.githubusercontent.com/u/24831484?v=4)](https://github.com/kylekanderson "kylekanderson (31 commits)")[![ToxicCrack](https://avatars.githubusercontent.com/u/3591570?v=4)](https://github.com/ToxicCrack "ToxicCrack (16 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (7 commits)")[![lichtblauit](https://avatars.githubusercontent.com/u/80097563?v=4)](https://github.com/lichtblauit "lichtblauit (6 commits)")

---

Tags

laravellunar-paypaltoxiccrack

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13662.4k1](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

136.9k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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