Introduction
This library has all the logic to support the Lucky Draw activity of several projects.
php artisan vendor:publish --provider="PedroVasconcelos\DrawEngine\DrawServiceProvider" --tag="migrations"
php artisan migrate
php artisan vendor:publish --provider="PedroVasconcelos\DrawEngine\DrawServiceProvider" --tag="config"
# Check the config file and setup the models
# Add the trait `HasPrizeSchedule` to the model to access the schedule
php artisan db:seed --class="DrawsSeeder"
php artisan app:create-prize-delivery-schedule 1
php artisan app:generate-winner-games 1 2021-09-07
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.