{"id":37007302,"url":"https://github.com/antalaron/circular-reference-detect","last_synced_at":"2026-01-14T00:47:12.119Z","repository":{"id":56948678,"uuid":"87205895","full_name":"antalaron/circular-reference-detect","owner":"antalaron","description":"PHP library to detect reference circular references in array","archived":false,"fork":false,"pushed_at":"2017-07-17T10:52:27.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T18:27:21.244Z","etag":null,"topics":["circular-reference","library","php"],"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/antalaron.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":"2017-04-04T15:46:26.000Z","updated_at":"2020-08-21T08:47:13.000Z","dependencies_parsed_at":"2022-08-21T07:50:15.907Z","dependency_job_id":null,"html_url":"https://github.com/antalaron/circular-reference-detect","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/antalaron/circular-reference-detect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antalaron%2Fcircular-reference-detect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antalaron%2Fcircular-reference-detect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antalaron%2Fcircular-reference-detect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antalaron%2Fcircular-reference-detect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antalaron","download_url":"https://codeload.github.com/antalaron/circular-reference-detect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antalaron%2Fcircular-reference-detect/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","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":["circular-reference","library","php"],"created_at":"2026-01-14T00:47:11.458Z","updated_at":"2026-01-14T00:47:12.106Z","avatar_url":"https://github.com/antalaron.png","language":"PHP","readme":"Circular reference detect\n=========================\n\n[![Build Status](https://travis-ci.org/antalaron/circular-reference-detect.svg?branch=master)](https://travis-ci.org/antalaron/circular-reference-detect) [![Coverage Status](https://coveralls.io/repos/github/antalaron/circular-reference-detect/badge.svg)](https://coveralls.io/github/antalaron/circular-reference-detect?branch=master) [![Latest Stable Version](https://poser.pugx.org/antalaron/circular-reference-detect/v/stable)](https://packagist.org/packages/antalaron/circular-reference-detect) [![Latest Unstable Version](https://poser.pugx.org/antalaron/circular-reference-detect/v/unstable)](https://packagist.org/packages/antalaron/circular-reference-detect) [![License](https://poser.pugx.org/antalaron/circular-reference-detect/license)](https://packagist.org/packages/antalaron/circular-reference-detect)\n\nPHP library to detect reference circular references in array.\n\nInstallation\n------------\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this library:\n\n```bash\n$ composer require antalaron/circular-reference-detect\n```\n\nThis command requires you to have Composer installed globally, as explained\nin the [installation chapter](https://getcomposer.org/doc/00-intro.md)\nof the Composer documentation.\n\nUsage\n-----\n\nFind a circular reference in an array:\n\n```php\nrequire __DIR__.'/vendor/autoload.php';\n\nuse Antalaron\\Component\\CircularReferenceDetect\\CircularReferenceDetect;\n$a = [\n    'a' =\u003e ['b'],\n    'b' =\u003e ['c'],\n    'c' =\u003e ['a'],\n];\n$detector = new CircularReferenceDetect();\n$detector-\u003ehasCircularReference($a);\n```\n\nDocumentation\n-------------\n\n1. [Installation](docs/01-installation.md)\n2. [Usage](docs/02-usage.md)\n3. [Contributing](docs/03-contributing.md)\n\nLicense\n-------\n\nThis library is under [MIT License](http://opensource.org/licenses/mit-license.php).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantalaron%2Fcircular-reference-detect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantalaron%2Fcircular-reference-detect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantalaron%2Fcircular-reference-detect/lists"}