https://github.com/dystcz/dystore-rewards
[WIP] Reward system for Laravel applications using Lunar
https://github.com/dystcz/dystore-rewards
dystore laravel lunar points rewards
Last synced: about 2 months ago
JSON representation
[WIP] Reward system for Laravel applications using Lunar
- Host: GitHub
- URL: https://github.com/dystcz/dystore-rewards
- Owner: dystcz
- License: mit
- Created: 2024-04-05T14:41:21.000Z (over 1 year ago)
- Default Branch: 1.0
- Last Pushed: 2024-05-01T23:03:31.000Z (over 1 year ago)
- Last Synced: 2025-03-25T18:12:48.633Z (7 months ago)
- Topics: dystore, laravel, lunar, points, rewards
- Language: PHP
- Homepage:
- Size: 246 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Lunar Rewards
[](https://packagist.org/packages/dystcz/lunar-api)
[](https://packagist.org/packages/dystcz/lunar-api)
## What's 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
### Requirements
- PHP ^8.2
- Laravel 10
- [Lunar requirements](https://docs.lunarphp.io/core/installation.html#server-requirements)### Installation
You can install the package via composer
```bash
composer require dystcz/lunar-rewards
```Publish config files
> You will probably need them pretty bad
```bash
php artisan vendor:publish --provider="Dystcz\LunarRewards\LunarRewardsServiceProvider" --tag="lunar-rewards"
```Publish migrations
> Only in case you want to customize the database schema
```bash
php artisan vendor:publish --provider="Dystcz\LunarRewards\LunarRewardsServiceProvider" --tag="lunar-rewards.migrations"
```### Testing
```bash
composer test
```### Compatible packages
- [Lunar API](https://github.com/dystcz/lunar-api) (JSON:API layer for Lunar)
### Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
### Security
If you discover any security related issues, please email dev@dy.st instead of using the issue tracker.
## 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
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.