{"id":20355052,"url":"https://github.com/robbertstevens/phpelo","last_synced_at":"2025-07-17T23:06:11.107Z","repository":{"id":74980225,"uuid":"206937565","full_name":"robbertstevens/phpelo","owner":"robbertstevens","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-07T09:53:48.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T17:36:42.534Z","etag":null,"topics":["elo-rating","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robbertstevens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-07T08:16:22.000Z","updated_at":"2019-09-07T10:45:53.000Z","dependencies_parsed_at":"2023-07-08T17:45:36.389Z","dependency_job_id":null,"html_url":"https://github.com/robbertstevens/phpelo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robbertstevens/phpelo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbertstevens%2Fphpelo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbertstevens%2Fphpelo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbertstevens%2Fphpelo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbertstevens%2Fphpelo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robbertstevens","download_url":"https://codeload.github.com/robbertstevens/phpelo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbertstevens%2Fphpelo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265677306,"owners_count":23809944,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["elo-rating","php"],"created_at":"2024-11-14T23:10:57.660Z","updated_at":"2025-07-17T23:06:11.101Z","avatar_url":"https://github.com/robbertstevens.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPElo\n\nThis is an implementation of the [Elo system](https://en.wikipedia.org/wiki/Elo_rating_system) created by [Arpad Elo](https://en.wikipedia.org/wiki/Arpad_Elo)\n\n\nToo create a match you can use the `MatchFactory` class. The code below will create match between players both with an elo of 1500.\n\n\n```php\n$match = MatchFactory::createFromElo(1500, 1500);\n```\n\n\nTo get the prediction of who is most likely to win the match. You can use the code below, this will return an percentage\n\n```php \n$expectedResult = $match-\u003ecalculateExpectedResult();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbertstevens%2Fphpelo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbertstevens%2Fphpelo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbertstevens%2Fphpelo/lists"}