2017 © Pedro Peláez
 

library lottery

Are you feeling lucky? Play the lottery!

image

hansott/lottery

Are you feeling lucky? Play the lottery!

  • Thursday, December 14, 2017
  • by hansott
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Lottery

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![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)

The Versions

14/12 2017

dev-master

9999999-dev https://github.com/hansott/lottery

Are you feeling lucky? Play the lottery!

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

lottery probability hansott

19/06 2016

1.0.0

1.0.0.0 https://github.com/hansott/lottery

Are you feeling lucky? Play the lottery!

  Sources   Download

MIT

The Requires

  • php ~7.0

 

The Development Requires

lottery probability hansott