PHPackages                             pedro-vasconcelos/draw-engine - 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. pedro-vasconcelos/draw-engine

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

pedro-vasconcelos/draw-engine
=============================

Draw engine Laravel package for promotion projects.

1.4.0(4y ago)037MITPHPPHP ^7.4|^8.0

Since Sep 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pedro-vasconcelos/draw-engine)[ Packagist](https://packagist.org/packages/pedro-vasconcelos/draw-engine)[ Docs](https://github.com/pedro-vasconcelos/draw-engine)[ RSS](/packages/pedro-vasconcelos-draw-engine/feed)WikiDiscussions main Synced today

READMEChangelog (6)Dependencies (6)Versions (7)Used By (0)

Draw Engine Laravel Package
===========================

[](#draw-engine-laravel-package)

[![Packagist Version](https://camo.githubusercontent.com/95ac12e25c9a39f3fe74e5205e8aff2e3cac9535cd43450d858943a2d2d3c01f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706564726f2d766173636f6e63656c6f732f647261772d656e67696e653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pedro-vasconcelos/draw-engine)[![GitHub](https://camo.githubusercontent.com/cd7b07aee12914f7cfcd7d08d4fdab4d608f7a5ac5f2337cf970eb12cb89e90a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706564726f2d766173636f6e63656c6f732f647261772d656e67696e653f7374796c653d666c61742d737175617265)](LICENSE)[![GitHub Workflow Status](https://camo.githubusercontent.com/de5eeba57be4137460e891057d45ac816cb85004595506c65d786d75f7e1cb6e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f706564726f2d766173636f6e63656c6f732f647261772d656e67696e652f72756e2d74657374733f636f6c6f723d677265656e267374796c653d666c61742d737175617265)](https://github.com/pedro-vasconcelos/draw-engine/actions)[![Packagist Downloads](https://camo.githubusercontent.com/58e21d5c6377e803e52efaed68efc7bb8ee2300cbc2be0b84b45e8144bb93de7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706564726f2d766173636f6e63656c6f732f647261772d656e67696e653f636f6c6f723d677265656e267374796c653d666c61742d737175617265)](https://packagist.org/packages/pedro-vasconcelos/draw-engine)

Introduction
------------

[](#introduction)

Introduction

This library has all the logic to support the Lucky Draw activity of several projects.

TODO
----

[](#todo)

Install
-------

[](#install)

```
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"
```

Commands
--------

[](#commands)

```
php artisan app:create-prize-delivery-schedule 1
php artisan app:generate-winner-games 1 2021-09-07
```

Changelog
---------

[](#changelog)

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

Credits
-------

[](#credits)

- [Pedro Vasconcelos](https://github.com/pedro-vasconcelos)
- [Laravel Framework](https://github.com/laravel/framework).

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

6

Last Release

1746d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1481965?v=4)[Pedro Vasconcelos](/maintainers/pedro-vasconcelos)[@pedro-vasconcelos](https://github.com/pedro-vasconcelos)

---

Top Contributors

[![pedro-vasconcelos](https://avatars.githubusercontent.com/u/1481965?v=4)](https://github.com/pedro-vasconcelos "pedro-vasconcelos (37 commits)")

---

Tags

requestdraw-engine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pedro-vasconcelos-draw-engine/health.svg)

```
[![Health](https://phpackages.com/badges/pedro-vasconcelos-draw-engine/health.svg)](https://phpackages.com/packages/pedro-vasconcelos-draw-engine)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M280](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M373](/packages/illuminate-redis)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)

PHPackages © 2026

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