{"id":15525429,"url":"https://github.com/robertbasic/weeksinayear","last_synced_at":"2025-09-13T21:06:47.181Z","repository":{"id":62536470,"uuid":"125655544","full_name":"robertbasic/weeksinayear","owner":"robertbasic","description":"Calculates the number of ISO weeks in a given year","archived":false,"fork":false,"pushed_at":"2018-03-17T18:13:56.000Z","size":3,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-18T10:12:59.968Z","etag":null,"topics":[],"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/robertbasic.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":"2018-03-17T17:58:34.000Z","updated_at":"2019-03-17T06:22:08.000Z","dependencies_parsed_at":"2022-11-02T15:15:25.084Z","dependency_job_id":null,"html_url":"https://github.com/robertbasic/weeksinayear","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fweeksinayear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fweeksinayear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fweeksinayear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertbasic%2Fweeksinayear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertbasic","download_url":"https://codeload.github.com/robertbasic/weeksinayear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229884,"owners_count":19768584,"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":[],"created_at":"2024-10-02T10:57:30.998Z","updated_at":"2025-02-22T19:41:11.563Z","avatar_url":"https://github.com/robertbasic.png","language":"PHP","readme":"# Weeks in a year\n\nThis small library calculates how many ISO weeks are there in a given year.\n\n## Install\n\n```\ncomposer require robertbasic/weeksinayear\n```\n\n## Usage\n\n``` php\n\u003c?php\n\nuse RobertBasic\\WeaksInAYear\\ISOWeeksInAYear;\n\n$year = 2018;\n\n$weeks = ISOWeeksInAYear::calculate($year);\n\necho $weeks; // 52\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbasic%2Fweeksinayear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertbasic%2Fweeksinayear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertbasic%2Fweeksinayear/lists"}