PHPackages                             dystcz/lunar-rewards - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dystcz/lunar-rewards

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dystcz/lunar-rewards
====================

Reward system for Laravel applications using Lunar

1.0.x-dev(2y ago)11[1 PRs](https://github.com/dystcz/lunar-rewards/pulls)MITPHPPHP ^8.2

Since Apr 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/dystcz/lunar-rewards)[ Packagist](https://packagist.org/packages/dystcz/lunar-rewards)[ Docs](https://github.com/dystcz/lunar-rewards)[ RSS](/packages/dystcz-lunar-rewards/feed)WikiDiscussions 1.0 Synced 1mo ago

READMEChangelogDependencies (9)Versions (4)Used By (0)

Lunar Rewards
=============

[](#lunar-rewards)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f1c49a317e795949c4367044114add98c0136250ce4ab1b903195851a93ee8f3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64797374637a2f6c756e61722d726577617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dystcz/lunar-api)[![Total Downloads](https://camo.githubusercontent.com/775ec36472304e9a70aa6289a47dba6ecd42d3d397d5fd9ca988ef1d71b9b394/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64797374637a2f6c756e61722d726577617264732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/dystcz/lunar-api)[![GitHub Actions](https://github.com/dystcz/lunar-rewards/actions/workflows/tests.yaml/badge.svg)](https://github.com/dystcz/lunar-rewards/actions/workflows/tests.yaml/badge.svg)

What's going on here?
---------------------

[](#whats-going-on-here)

This is a reward system package for [Lunar](https://github.com/lunarphp/lunar)which allows your users to earn points for their purchases and redeem them for discounts.

Getting started guide
---------------------

[](#getting-started-guide)

### Requirements

[](#requirements)

- PHP ^8.2
- Laravel 10
- [Lunar requirements](https://docs.lunarphp.io/core/installation.html#server-requirements)

### Installation

[](#installation)

You can install the package via composer

```
composer require dystcz/lunar-rewards
```

Publish config files

> You will probably need them pretty bad

```
php artisan vendor:publish --provider="Dystcz\LunarRewards\LunarRewardsServiceProvider" --tag="lunar-rewards"
```

Publish migrations

> Only in case you want to customize the database schema

```
php artisan vendor:publish --provider="Dystcz\LunarRewards\LunarRewardsServiceProvider" --tag="lunar-rewards.migrations"
```

### Testing

[](#testing)

```
composer test
```

### Compatible packages

[](#compatible-packages)

- [Lunar API](https://github.com/dystcz/lunar-api) (JSON:API layer for Lunar)

### Changelog

[](#changelog)

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

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

[](#contributing)

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

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)
- [Lunar](https://github.com/lunarphp/lunar) for providing awesome e-commerce package
- [Laravel JSON:API](https://github.com/laravel-json-api/laravel)which is a brilliant JSON:API layer for Laravel applications

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Total

2

Last Release

741d ago

Major Versions

0.8.x-dev → 1.0.x-dev2024-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/581117abe0f4b50c0ed62f6072f506571a3be5351311f447f10e120c24e2ddca?d=identicon)[theimerj](/maintainers/theimerj)

---

Top Contributors

[![repl6669](https://avatars.githubusercontent.com/u/5587309?v=4)](https://github.com/repl6669 "repl6669 (10 commits)")

---

Tags

dystorelaravellunarpointsrewardsphplaravelrewardspointslunardystczlunar-api

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/dystcz-lunar-rewards/health.svg)

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

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[monicahq/laravel-cloudflare

Add Cloudflare ip addresses to trusted proxies for Laravel.

3372.7M4](/packages/monicahq-laravel-cloudflare)[kra8/laravel-snowflake

Snowflake for Laravel and Lumen.

188402.3k6](/packages/kra8-laravel-snowflake)[bezhansalleh/filament-google-analytics

Google Analytics integration for FilamentPHP

205144.8k5](/packages/bezhansalleh-filament-google-analytics)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)

PHPackages © 2026

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