hansott/lottery

This package is abandoned and no longer maintained. No replacement package was suggested.

Are you feeling lucky? Play the lottery!

1.0.0 2016-06-19 12:07 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:59:16 UTC


README

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Are you feeling lucky? Play the lottery!

Install

Via Composer

$ composer require hansott/lottery

Usage

$lotteryFactory = new \HansOtt\Lottery\LotteryFactoryDefault();
$lottery = $lotteryFactory->getLottery();
$ticket = new \HansOtt\Lottery\Ticket(1, 100); // 1% chance to win
$won = $lottery->isLucky($ticket);

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

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

Credits

License

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