{"id":37014928,"url":"https://github.com/ferranfg/elo-rating","last_synced_at":"2026-01-14T01:29:48.193Z","repository":{"id":65208720,"uuid":"587762093","full_name":"ferranfg/elo-rating","owner":"ferranfg","description":"Librería PHP para calcular y gestionar ratings Elo en equipos y parejas, optimizada para competiciones y ligas","archived":false,"fork":true,"pushed_at":"2023-12-04T06:02:57.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T21:08:13.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://fantasypadeltour.com","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"Chovanec/elo-rating","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ferranfg.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}},"created_at":"2023-01-11T14:26:58.000Z","updated_at":"2023-11-30T09:47:26.000Z","dependencies_parsed_at":"2023-02-09T03:31:45.852Z","dependency_job_id":null,"html_url":"https://github.com/ferranfg/elo-rating","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ferranfg/elo-rating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferranfg%2Felo-rating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferranfg%2Felo-rating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferranfg%2Felo-rating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferranfg%2Felo-rating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ferranfg","download_url":"https://codeload.github.com/ferranfg/elo-rating/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ferranfg%2Felo-rating/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408163,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T00:40:43.272Z","status":"ssl_error","status_checked_at":"2026-01-14T00:40:42.636Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-14T01:29:47.604Z","updated_at":"2026-01-14T01:29:48.181Z","avatar_url":"https://github.com/ferranfg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elo Rating PHP\nA PHP class which implements the [Elo rating system](http://en.wikipedia.org/wiki/Elo_rating_system) for [Fantasy Padel Tour](https://fantasypadeltour.com).\n\n# Install with composer\n\n`composer require ferranfg/elo-rating`\n\nLink to Packagist.org: https://packagist.org/packages/ferranfg/elo-rating\n\n# Usage\n\n    require 'src/Rating/Rating.php';\n\n    // player A elo = 1000\n    // player B elo = 2000\n    // player A lost\n    // player B win\n    \n    $rating = new Rating(1000, 2000, Rating::LOST, Rating::WIN);\n\n    // player A elo = 1000\n    // player B elo = 2000\n    // player A draw\n    // player B draw\n    \n    $rating = new Rating(1000, 2000, Rating::DRAW, Rating::DRAW);\n    \n    $results = $rating-\u003egetNewRatings();\n    \n    echo \"New rating for player A: \" . $results['a'];\n    echo \"New rating for player B: \" . $results['b'];\n    \n---------------------------------------\n\n# Credits\n    \n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003e\u003cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by/4.0/80x15.png\" /\u003e\u003c/a\u003e\u003cbr /\u003e\u003cspan xmlns:dct=\"http://purl.org/dc/terms/\" property=\"dct:title\"\u003eElo Rating PHP\u003c/span\u003e by \u003ca xmlns:cc=\"http://creativecommons.org/ns#\" href=\"http://michalchovanec.com\" property=\"cc:attributionName\" rel=\"cc:attributionURL\"\u003eMichal Chovanec\u003c/a\u003e is licensed under a \u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by/4.0/\"\u003eCreative Commons Attribution 4.0 International License\u003c/a\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferranfg%2Felo-rating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferranfg%2Felo-rating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferranfg%2Felo-rating/lists"}