Download the PHP package dolejska-daniel/bracket-generator without Composer
On this page you can find all versions of the php package dolejska-daniel/bracket-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dolejska-daniel/bracket-generator
More information about dolejska-daniel/bracket-generator
Files in dolejska-daniel/bracket-generator
Package bracket-generator
Short Description Bracket generator for PHP7
License GPL-3.0-or-later
Homepage https://github.com/dolejska-daniel/bracket-generator
Informations about the package bracket-generator
PHP Bracket Generator
Version v0.2
Table of Contents
- Introduction
- Downloading
- Usage example
Introduction
Welcome to bracket generator for PHP7 repo. This library uses HTML tables to render nice and clean game brackets. You can create brackets based on participant count, match list or even custom tree. Bracket visuals are also completly customizable.
Please, refer mainly to the wiki pages.
Downloading
The easiest way to get this library is to use Composer. While
having Composer installed it takes only composer require dolejska-daniel/bracket-generator
and composer update
to get the library up and ready!
If you are not fan of Composer, you can download whole repository in .zip archive
or clone the repository using Git - git clone https://github.com/dolejska-daniel/bracket-generator
.
But in this case, you will have to create your own autoload function.
Usage example
All it takes to create a bracket is this:
And what will you end up with after this? Take a look:
It looks a bit empty so you can fill it up very easily - let's start from the beginning:
And that gives us:
Please remember that the bracket visuals are completly customizable. This is just an example.
For more, please see the wiki pages.