{"id":18598467,"url":"https://github.com/backendtea/dependency-finder","last_synced_at":"2025-07-22T22:34:21.478Z","repository":{"id":62491086,"uuid":"201630224","full_name":"BackEndTea/Dependency-Finder","owner":"BackEndTea","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-06T15:43:38.000Z","size":19,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T03:52:40.703Z","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/BackEndTea.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":"2019-08-10T12:54:57.000Z","updated_at":"2024-05-17T16:49:18.000Z","dependencies_parsed_at":"2022-11-02T11:15:56.105Z","dependency_job_id":null,"html_url":"https://github.com/BackEndTea/Dependency-Finder","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/BackEndTea/Dependency-Finder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FDependency-Finder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FDependency-Finder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FDependency-Finder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FDependency-Finder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BackEndTea","download_url":"https://codeload.github.com/BackEndTea/Dependency-Finder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BackEndTea%2FDependency-Finder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266586336,"owners_count":23952171,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-11-07T01:32:51.155Z","updated_at":"2025-07-22T22:34:21.450Z","avatar_url":"https://github.com/BackEndTea.png","language":"PHP","readme":"# PHP Depend resolver\n\n## What is this\n\nThis library allows you to find the dependencies of a php file.\n\nIt was created to help with another libary, that allows you to run tests for only changes files (and their dependencies)\n\n## Usage\n```php\n\u003c?php\nrequire_once __DIR__.'/vendor/autoload.php';\n\nuse Depend\\DependencyFinder;\n\n\n$finder = new DependencyFinder([__DIR__.'/src/',  './vendor/psr/container/src', __DIR__.'/tests']);\n\n$finder-\u003ebuild();\n\n$deps = $finder-\u003egetAllFilesDependingOn(['./tests/Fixtures/Circular/A.php']);\n\nforeach ($deps as $dep) {\n    var_dump($dep);\n}\n\n$finder-\u003ereBuild(['./src/Domain/User.php', './tests/Domain/User.php', './src/functions.php']);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendtea%2Fdependency-finder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbackendtea%2Fdependency-finder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbackendtea%2Fdependency-finder/lists"}