{"id":15023508,"url":"https://github.com/marabesi/php-import-checker","last_synced_at":"2025-10-23T19:22:42.446Z","repository":{"id":38549373,"uuid":"97286561","full_name":"marabesi/php-import-checker","owner":"marabesi","description":"php-import-checker helps you know when a given class is imported but not used, providing a easy way to keep your code clean and organized.","archived":false,"fork":false,"pushed_at":"2025-06-13T18:09:51.000Z","size":12089,"stargazers_count":9,"open_issues_count":7,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T02:41:00.787Z","etag":null,"topics":["checker","extension","import","namespaces","php","php5","php7","use","vscode"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=marabesi.php-import-checker","language":"TypeScript","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/marabesi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2017-07-15T02:19:36.000Z","updated_at":"2025-05-25T13:22:47.000Z","dependencies_parsed_at":"2024-05-02T19:38:32.134Z","dependency_job_id":"20980fe9-58e5-42b4-9e1c-961dc84096c7","html_url":"https://github.com/marabesi/php-import-checker","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/marabesi/php-import-checker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fphp-import-checker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fphp-import-checker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fphp-import-checker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fphp-import-checker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marabesi","download_url":"https://codeload.github.com/marabesi/php-import-checker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marabesi%2Fphp-import-checker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265175567,"owners_count":23722661,"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":["checker","extension","import","namespaces","php","php5","php7","use","vscode"],"created_at":"2024-09-24T19:59:08.406Z","updated_at":"2025-10-23T19:22:42.357Z","avatar_url":"https://github.com/marabesi.png","language":"TypeScript","readme":"# php-import-checker\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/219306c872394844a218ea3918042035)](https://www.codacy.com/gh/marabesi/php-import-checker/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=marabesi/php-import-checker\u0026amp;utm_campaign=Badge_Grade)\n[![Build status](https://github.com/marabesi/php-import-checker/actions/workflows/nodejs.yml/badge.svg)](https://github.com/marabesi/php-import-checker/actions/workflows/nodejs.yml)\n[![Coverage Status](https://coveralls.io/repos/github/marabesi/php-import-checker/badge.svg?branch=)](https://coveralls.io/github/marabesi/php-import-checker?branch=) \u003ca href=\"https://www.buymeacoffee.com/marabesi\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\"\u003e\u003c/a\u003e\n\nphp-import-checker helps you know when a given class is imported but not used, providing a easy way to keep your code clean and organized.\n\n- [OpenVSX](https://open-vsx.org/extension/marabesi/php-import-checker)\n- [Microsoft marketplace](https://marketplace.visualstudio.com/items?itemName=marabesi.php-import-checker)\n\n## Features\n\n- Highlight every unused class that is imported with `use`\n- Change the color to fit your theme\n- opt-in for latest changes and give feedback\n\n## Settings\n\nThe settings described in this section go under the json option `php.import.highlight`,\na basic configuration that would change the highlight color, would be something\nlike:\n\n```json\n\"php.import.highlight\": {\n  \"color\": \"#EDF791\",\n  \"use_next_version\": false\n  \"ignore_comments\": true\n}\n```\n\n|Option|Type|Description|\n|------|----|-----------|\n|color|String| Uses the RGB color defined in this option to highlight the unused imports - helpful to match the color with your preferred theme.|\n|use_next_version|Boolean| Opt-in to the latest changes to the extension without breaking current behavior. Note: if you are using this option and find anything wrong, please open an issue.|\n|ignore_comments|Boolean|If set to true, does not take into account commented code - this option only works if **use_next_version** is set to true|\n\n## Requirements\n\nVisual Code 1.6 +\n\n## Demos\n\n- Manually invoke the extension checker\n\n![Highlight unused imports](demo.gif)\n\n- Change the color to the one you want to\n\n![Change highlight color](demo-color.gif)\n\n## Publications\n\n- [PHP import checker - VScode extension to support PHP developers](https://marabesi.com/php/2020/04/05/php-import-checker-vscode-extension.html)\n","funding_links":["https://www.buymeacoffee.com/marabesi"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarabesi%2Fphp-import-checker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarabesi%2Fphp-import-checker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarabesi%2Fphp-import-checker/lists"}