Lottery
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
Are you feeling lucky? Play the lottery!, (*2)
Install
Via Composer, (*3)
``` bash
$ composer require hansott/lottery, (*4)
## Usage
``` php
$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., (*5)
Testing
bash
$ composer test, (*6)
Contributing
Please see CONTRIBUTING and CONDUCT for details., (*7)
Security
If you discover any security related issues, please email hansott at hotmail be instead of using the issue tracker., (*8)
Credits
License
The MIT License (MIT). Please see License File for more information., (*9)