destinylab / lottery-poetry-engine
The engine of lottery poetry
Installs: 40
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/destinylab/lottery-poetry-engine
Requires
- php: >=5.4.0
- indigofeather/resource-loader: dev-master
Requires (Dev)
- codeception/codeception: 2.0.12
This package is not auto-updated.
Last update: 2025-10-07 08:41:26 UTC
README
Lottery-Poetry-Engine is the engine of lottery poetry.
Requirement
- PHP >=5.4
Installing via Composer
The recommended way to install Lottery-Poetry-Engine is through Composer.
# Install Composer curl -sS https://getcomposer.org/installer | php
Next, update your project's composer.json file to include Lottery-Poetry-Engine:
{ "require": { "destinylab/lottery-poetry-engine": "dev-master" } }
Usage
<?php require_once 'vendor/autoload.php'; $suit = new DestinyLab\LotteryPoetry\Suit([__DIR__.'/resources/'], 'yml'); $suit->get(1); $suit->total(); $suit->getList(); $engine = new DestinyLab\LotteryPoetry\Engine($suit); // get contents $engine->draw(); // get only key $engine->draw(true);
License
MIT