hansott/lottery
This package is abandoned and no longer maintained.
No replacement package was suggested.
Are you feeling lucky? Play the lottery!
Maintainers
1.0.0
2016-06-19 12:07 UTC
Requires
- php: ~7.0
Requires (Dev)
- phpunit/phpunit: ~4.0||~5.0
- scrutinizer/ocular: ~1.1
- squizlabs/php_codesniffer: ~2.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT c22c584bff64e9a807eed96817fb8d0a11eaca67
- Hans Ott <hansott.woop@hotmail.be>
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.
