heroyt / tournament-generator Goto Github PK
View Code? Open in Web Editor NEWA set of classes used to create multiple kinds of tournament brackets in PHP
License: MIT License
A set of classes used to create multiple kinds of tournament brackets in PHP
License: MIT License
Any plans to develop this and bring it up to speed with PHP 8.1.5?
I'm running your sample code and getting the following error:
Deprecated: Return type of TournamentGenerator\Containers\BaseContainer::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in .\sandbox\bracket-may-2022\vendor\heroyt\tournament-generator\src\TournamentGenerator\Containers\BaseContainer.php on line 122
Updates from last year are not incorporated into the composer dependency, have to pull the updated files seperately.
Hey,
Just a FYI, this package is amazing, it seem's to have all of the functionality i need to create my football tournaments. There is only a small problem i am hoping you can help me with.
I'm struggling to get this to work with my Laravel application.
Currently i have an array of teams that are in my database. How can i use your package to generate round-robin tournament matches (either one round or two round) and then record the schedule in my database?
Any help would be appreciated, thank you.
Fatal error: Nesting level too deep - recursive dependency? in \vendor\heroyt\tournament-generator\src\TournamentGenerator\Tournament.php on line 163
When using setResults method on a game, the method does not find the team in the array. I have even used an array within the game class to try ensure it wasnt my query such as [$game->getTeam($match->hometeam)->getId() => score] and still get the exception of 'Couldn't find team with id of "'.$id.'"'. I was going to fork and try to look at it, but there seems to be an issue with the array its looking at in the class.
Im a bit confused how to use filters. Or more specifically if there is a way to us the filters to achive what im trying to.
Tournament stretchs 9 weeks. 10 teams are in the tournament (there will always be 2 1 more team then the number of weeks the tournament lasts)
I need it so every one plays everyone only once over that entire time. If you need anything from me please let me know.
Thank you!
Hello. Where can I get a design for a tournament with embroidery php + html ?
I am unable to set a setResults(Array).
Creating a tournament and filling the teams from database works fine, as well as the export /import to json.
Running script tournament-robin-min.php throws a fatal error.
php_and_output.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.