{"id":42523863,"url":"https://github.com/hexlet-components/php-pairs","last_synced_at":"2026-01-28T15:36:13.657Z","repository":{"id":56984029,"uuid":"53127407","full_name":"hexlet-components/php-pairs","owner":"hexlet-components","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-10T14:59:26.000Z","size":78,"stargazers_count":25,"open_issues_count":0,"forks_count":9,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-09-10T18:46:44.732Z","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/hexlet-components.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-03-04T10:24:25.000Z","updated_at":"2025-09-10T14:59:29.000Z","dependencies_parsed_at":"2025-09-10T16:28:58.891Z","dependency_job_id":"2dc46ac8-c9b5-4650-a6c8-3b43ad38eefe","html_url":"https://github.com/hexlet-components/php-pairs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/hexlet-components/php-pairs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fphp-pairs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fphp-pairs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fphp-pairs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fphp-pairs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexlet-components","download_url":"https://codeload.github.com/hexlet-components/php-pairs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexlet-components%2Fphp-pairs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":[],"created_at":"2026-01-28T15:36:12.841Z","updated_at":"2026-01-28T15:36:13.647Z","avatar_url":"https://github.com/hexlet-components.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-pairs\n\n[![github action status](https://github.com/hexlet-components/php-pairs/workflows/PHP%20CI/badge.svg)](../../actions)\n\nFunctions for working with Pairs.\n\n## Examples\n\n```php\n\u003c?php\n\nuse function Php\\Pairs\\Pairs\\cons;\nuse function Php\\Pairs\\Pairs\\car;\nuse function Php\\Pairs\\Pairs\\cdr;\nuse function Php\\Pairs\\Pairs\\toString;\n\n$pair = cons(1, 2);\n$one = car($pair); // $one = 1;\n$two = cdr($pair); // $two = 2;\n$str = toString($pair); // '(1, 2)'\n```\n\n---\n\n[![Hexlet Ltd. logo](https://raw.githubusercontent.com/Hexlet/assets/master/images/hexlet_logo128.png)](https://hexlet.io?utm_source=github\u0026utm_medium=link\u0026utm_campaign=php-pairs)\n\nThis repository is created and maintained by the team and the community of Hexlet, an educational project. [Read more about Hexlet](https://hexlet.io?utm_source=github\u0026utm_medium=link\u0026utm_campaign=php-pairs).\n\nSee most active contributors on [hexlet-friends](https://friends.hexlet.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlet-components%2Fphp-pairs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexlet-components%2Fphp-pairs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexlet-components%2Fphp-pairs/lists"}