dystcz / lunar-rewards
Reward system for Laravel applications using Lunar
1.0.x-dev
2024-05-01 23:03 UTC
Requires
- php: ^8.2
- illuminate/support: ^11.0
- lunarphp/lunar: ^1.0.0-alpha
Requires (Dev)
- dystcz/lunar-api: ^1.0.0-alpha
- laravel-json-api/testing: ^3.0
- laravel/pint: ^1.7
- orchestra/testbench: ^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- spatie/laravel-ray: ^1.32
Suggests
- dystcz/lunar-api: For working with Lunar API
This package is auto-updated.
Last update: 2024-10-31 00:31:17 UTC
README
What's going on here?
This is a reward system package for 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
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
composer test
Compatible packages
- Lunar API (JSON:API layer for Lunar)
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email dev@dy.st instead of using the issue tracker.
Credits
- All Contributors
- Lunar for providing awesome e-commerce package
- Laravel JSON:API which is a brilliant JSON:API layer for Laravel applications
License
The MIT License (MIT). Please see License File for more information.