{"id":34004043,"url":"https://github.com/diegobanos/php-glicko2","last_synced_at":"2026-03-17T20:04:20.193Z","repository":{"id":56968383,"uuid":"164724925","full_name":"diegobanos/php-glicko2","owner":"diegobanos","description":"A PHP glicko2 implementation with an easy to use interface","archived":false,"fork":false,"pushed_at":"2019-07-29T11:05:02.000Z","size":50,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-12-14T22:11:30.298Z","etag":null,"topics":["glicko2","library","php","rating"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegobanos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-08T20:11:44.000Z","updated_at":"2025-07-28T14:32:47.000Z","dependencies_parsed_at":"2022-08-21T10:50:36.626Z","dependency_job_id":null,"html_url":"https://github.com/diegobanos/php-glicko2","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/diegobanos/php-glicko2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegobanos%2Fphp-glicko2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegobanos%2Fphp-glicko2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegobanos%2Fphp-glicko2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegobanos%2Fphp-glicko2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegobanos","download_url":"https://codeload.github.com/diegobanos/php-glicko2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegobanos%2Fphp-glicko2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30630038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["glicko2","library","php","rating"],"created_at":"2025-12-13T10:03:18.398Z","updated_at":"2026-03-17T20:04:20.187Z","avatar_url":"https://github.com/diegobanos.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-glicko2\n\n[![Build Status](https://travis-ci.org/diegobanos/php-glicko2.svg?branch=master)](https://travis-ci.org/diegobanos/php-glicko2)\n\nA PHP glicko2 implementation with an easy to use interface.\n\n## How to use\n\n```php\nuse Diegobanos\\Glicko2\\Rating\\Rating;\nuse Diegobanos\\Glicko2\\Result\\Result;\nuse Diegobanos\\Glicko2\\Glicko2;\n\n$glicko2 = new Glicko2;\n\n$rating = new Rating(1500, 200);\n\n$results = [\n    new Result(new Rating(1400, 30), 1), //victory\n    new Result(new Rating(1550, 100), 0), //defeat\n    new Result(new Rating(1700, 300), 0) //defeat\n];\n\n$updatedRating = $glicko2-\u003ecalculateRating($rating, $results);\n\n//The updated rating will be (1464.06, 151.52, 0.05999)\n```\n\nYou can also create your own `Rating` class that implements `Diegobanos\\Glicko2\\Rating\\Rating\\RatingInterface`.\n\n## Install\n\ncomposer require diegobanos/php-glicko2\n\n## License\n\nMIT License\n\n## Further reading\n\nThe algorithm implemented on this project is described in the following [PDF](http://www.glicko.net/glicko/glicko2.pdf).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegobanos%2Fphp-glicko2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegobanos%2Fphp-glicko2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegobanos%2Fphp-glicko2/lists"}