{"id":19637846,"url":"https://github.com/dolejska-daniel/bracket-generator","last_synced_at":"2026-06-10T04:31:20.525Z","repository":{"id":56970802,"uuid":"119151891","full_name":"dolejska-daniel/bracket-generator","owner":"dolejska-daniel","description":"Simple bracket generator for PHP7","archived":false,"fork":false,"pushed_at":"2018-10-29T19:09:22.000Z","size":53,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-26T22:17:06.773Z","etag":null,"topics":["bracket-generator","brackets","php"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dolejska-daniel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-27T09:47:15.000Z","updated_at":"2021-05-03T13:12:05.000Z","dependencies_parsed_at":"2022-08-21T11:20:09.721Z","dependency_job_id":null,"html_url":"https://github.com/dolejska-daniel/bracket-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dolejska-daniel/bracket-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolejska-daniel%2Fbracket-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolejska-daniel%2Fbracket-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolejska-daniel%2Fbracket-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolejska-daniel%2Fbracket-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dolejska-daniel","download_url":"https://codeload.github.com/dolejska-daniel/bracket-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dolejska-daniel%2Fbracket-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34137570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bracket-generator","brackets","php"],"created_at":"2024-11-11T12:36:28.484Z","updated_at":"2026-06-10T04:31:20.503Z","avatar_url":"https://github.com/dolejska-daniel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHP Bracket Generator\n\n\u003e Version v0.2\n\n# Table of Contents\n\n1. [Introduction](#introduction)\n2. [Downloading](#downloading)\n3. [Usage example](#usage-example)\n\n# [Introduction](https://github.com/dolejska-daniel/bracket-generator/wiki/Home#introduction)\n\nWelcome to bracket generator for PHP7 repo. This library uses HTML tables to render nice and\nclean game brackets. You can create brackets based on participant count, match list or even\ncustom tree. Bracket visuals are also completly customizable.\n\nPlease, refer mainly to the [wiki pages](https://github.com/dolejska-daniel/bracket-generator/wiki).\n\n# [Downloading](https://github.com/dolejska-daniel/bracket-generator/wiki/Home#downloading)\n\nThe easiest way to get this library is to use [Composer](https://getcomposer.org/). While\nhaving Composer installed it takes only `composer require dolejska-daniel/bracket-generator`\nand `composer update` to get the library up and ready!\n\nIf you are not fan of Composer, you can download [whole repository in .zip archive](https://github.com/dolejska-daniel/bracket-generator/archive/master.zip)\nor clone the repository using Git - `git clone https://github.com/dolejska-daniel/bracket-generator`.\n_But in this case, you will have to create your own autoload function._\n\n# [Usage example](https://github.com/dolejska-daniel/bracket-generator/wiki/Usage-example)\n\nAll it takes to create a bracket is this:\n\n```php\nuse BracketGenerator\\Bracket;\necho Bracket::create(8);\n```\n\nAnd what will you end up with after this? Take a look:\n\n![Empty bracket for 8 participants](https://image.prntscr.com/image/V95bQ0atR8GGymk_s4_fng.png)\n\nIt looks a bit empty so you can fill it up very easily - let's start from the beginning:\n\n```php\nuse BracketGenerator\\Bracket;\n\n$bracket = Bracket::create(8);\n$bracket-\u003efillByParticipantList([\n\t[ 'Participant 1', 0 ],\n\t[ 'Participant 2', 0 ],\n\t[ 'Participant 3', 0 ],\n\t[ 'Participant 4', 0 ],\n\t[ 'Participant 5', 0 ],\n\t[ 'Participant 6', 0 ],\n\t[ 'Participant 7', 0 ],\n\t[ 'Participant 8', 0 ],\n]);\n\necho $bracket;\n```\n\nAnd that gives us:\n\n![Filled bracket for 8 participants](https://image.prntscr.com/image/qzV6ch6sRJGeWKVjPJuvLw.png)\n\nPlease remember that the bracket visuals are completly customizable. This is just an example.\n\nFor more, please see [the wiki pages](https://github.com/dolejska-daniel/bracket-generator/wiki/Usage-example).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolejska-daniel%2Fbracket-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdolejska-daniel%2Fbracket-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdolejska-daniel%2Fbracket-generator/lists"}