{"id":21374948,"url":"https://github.com/peekandpoke/php-types","last_synced_at":"2025-07-05T04:38:24.849Z","repository":{"id":57037500,"uuid":"91386346","full_name":"PeekAndPoke/php-types","owner":"PeekAndPoke","description":"Basic types for PHP like Enums, LocalDate etc","archived":false,"fork":false,"pushed_at":"2018-08-20T20:15:00.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T05:36:51.366Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PeekAndPoke.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":"2017-05-15T21:26:13.000Z","updated_at":"2019-05-06T19:20:59.000Z","dependencies_parsed_at":"2022-08-23T21:00:18.560Z","dependency_job_id":null,"html_url":"https://github.com/PeekAndPoke/php-types","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeekAndPoke%2Fphp-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeekAndPoke%2Fphp-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeekAndPoke%2Fphp-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PeekAndPoke%2Fphp-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PeekAndPoke","download_url":"https://codeload.github.com/PeekAndPoke/php-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243848160,"owners_count":20357503,"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-11-22T08:46:13.960Z","updated_at":"2025-03-16T09:21:21.295Z","avatar_url":"https://github.com/PeekAndPoke.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Code Coverage](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/badges/build.png?b=master)](https://scrutinizer-ci.com/g/PeekAndPoke/php-types/build-status/master)\n\n# Why PHP-Types\n\nThere are some types that PHP does not provide as part of the language, e.g.:\n\n- Enums\n\n- LocalDate (a date object that enforces creation WITH timezone)\n\n\n# TODO\n\n( ) LocalDate::isSameDay\n\n( ) LocalDate::isSameWeek\n\n( ) LocalDate::isSameMonth\n\n( ) LocalDate::isSameYear\n\n( ) LocalDate::isSameDecade\n\n( ) LocalDate::isSameCentury\n\n( ) LocalDate::isSameMillennium\n\n( ) extract all DST (daylight saving time aware methods from LocalDate)\n\n$date-\u003edst()-\u003egetShift()\n$date-\u003edst()-\u003emodifyByDays()\n...\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeekandpoke%2Fphp-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeekandpoke%2Fphp-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeekandpoke%2Fphp-types/lists"}