Skip to content

Lottery-Poetry-Sixty-Jiazi is the data of Lottery-Poetry-Engine.(六十甲子籤詩)

Notifications You must be signed in to change notification settings

DestinyLab/lottery-poetry-sixty-jiazi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lottery-Poetry-Sixty-Jiazi(六十甲子籤詩)

Lottery-Poetry-Sixty-Jiazi is the data of Lottery-Poetry-Engine.

Requirement

  • PHP >=5.4

Installing via Composer

The recommended way to install Lottery-Poetry-Sixty-Jiazi is through Composer.

# Install Composer
curl -sS https://getcomposer.org/installer | php

Next, update your project's composer.json file to include Lottery-Poetry-Sixty-Jiazi:

{
    "require": {
        "destinylab/lottery-poetry-sixty-jiazi": "dev-master"
    }
}

Usage

<?php

require_once 'vendor/autoload.php';

$suit = new DestinyLab\LotteryPoetry\SixtyJiazi([__DIR__.'/resources'], 'yml');
$engine = new DestinyLab\LotteryPoetry\Engine($suit);

// get contents
$engine->draw();

// get only key
$engine->draw(true);

License

MIT

About

Lottery-Poetry-Sixty-Jiazi is the data of Lottery-Poetry-Engine.(六十甲子籤詩)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages