{"id":18766334,"url":"https://github.com/navarr/attribute-dependency","last_synced_at":"2025-09-18T23:55:29.021Z","repository":{"id":57024112,"uuid":"379128274","full_name":"navarr/attribute-dependency","owner":"navarr","description":"Dependency Attribute (see navarr/dependency-annotation)","archived":false,"fork":false,"pushed_at":"2021-07-11T00:57:58.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T13:47:51.465Z","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/navarr.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":"2021-06-22T03:17:37.000Z","updated_at":"2021-07-11T00:58:01.000Z","dependencies_parsed_at":"2022-08-23T13:50:25.442Z","dependency_job_id":null,"html_url":"https://github.com/navarr/attribute-dependency","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fattribute-dependency","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fattribute-dependency/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fattribute-dependency/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarr%2Fattribute-dependency/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navarr","download_url":"https://codeload.github.com/navarr/attribute-dependency/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239669182,"owners_count":19677690,"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-07T18:40:19.422Z","updated_at":"2025-09-18T23:55:23.952Z","avatar_url":"https://github.com/navarr.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dependency Attribute for PHP\n\nThis is a composer package to make your static analysis tools happy :)\n\n## Usage\n\n```php\nuse Navarr\\Attribute\\Dependency;\n    \n// ...\n    \n#[Dependency(package: 'psr/log', versionConstraint: '^1', reason: 'Use of LoggerInterface::error')]\n```\n\n## PHP 7 support\n\nWhile the Attribute only works in PHP8, so long as it does not span multiple lines, it may be included in PHP7 codebases\n\n## Tools\n\nSee [navarr/dependency-annotation](https://github.com/navarr/dependency-annotation) for tools to analyse usage.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarr%2Fattribute-dependency","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavarr%2Fattribute-dependency","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarr%2Fattribute-dependency/lists"}