2017 © Pedro Peláez
 

library lottery-engine

A lottery component engine - modularity and easy to deploy.

image

windomz/lottery-engine

A lottery component engine - modularity and easy to deploy.

  • Monday, July 3, 2017
  • by WindomZ
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

lottery-engine

A lottery component engine - modularity and easy to deploy., (*1)

Latest Stable Version Build Status Minimum PHP Version Minimum MYSQL Version Platform, (*2)

中文文档, (*3)

Feature

  • [x] Play - How to play
  • [x] Rule - The rule of playing
  • [x] Reward - Play rewards
  • [x] Record - Play records

Install

Open the terminal in the project directory:, (*4)

$ composer require windomz/lottery-engine

Create a configuration file, like config.yml:, (*5)

database_host: 127.0.0.1
database_port: 3306
database_type: mysql
database_name: lotterydb
database_username: root
database_password: root
database_charset: utf8
database_logging: false
database_json: true # If the database supports JSON.

If only for quick testing, you can run ./sql/lotterydb.sql in MySQL to quickly create a test database., (*6)

Of course, you can also customize the database name based on ./sql/lotterydb.sql, but note that the table name CANNOT MODIFY!, (*7)

In the project initialization, load the specified configuration file through the following implementation:, (*8)

Lottery::setConfigPath('./config.yml');

Usage

Refer to the Document(Currently only Chinese) for details., (*9)

Limitation

There is no memory cache system, such as Memcached, Redis, but through shmop functions to share memory operations, this brings some performance bottlenecks, if necessary, can fork and rewrite \LotteryEngine\Model\Cache class to access., (*10)

License

The MIT License, (*11)

The Versions

03/07 2017

dev-no-owner

dev-no-owner

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

03/07 2017

dev-dev

dev-dev

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

30/06 2017

dev-master

9999999-dev

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT Apache-2.0

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

30/06 2017
29/06 2017
28/06 2017

v0.3.5

0.3.5.0

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

26/06 2017

v0.3.4

0.3.4.0

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

26/06 2017

v0.3.3

0.3.3.0

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery

26/06 2017

v0.3.2

0.3.2.0

A lottery component engine - modularity and easy to deploy.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar WindomZ

engine lottery