{"id":17192114,"url":"https://github.com/arokettu/phpstorm-metadata-export","last_synced_at":"2025-07-22T22:05:26.912Z","repository":{"id":38179766,"uuid":"122271185","full_name":"arokettu/phpstorm-metadata-export","owner":"arokettu","description":"Export PhpStorm Advanced Metadata from DI containers","archived":false,"fork":false,"pushed_at":"2025-06-27T00:29:46.000Z","size":101,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-20T10:41:31.097Z","etag":null,"topics":["code-completion","dependency-injection","phpstorm","pimple","silex","slim"],"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/arokettu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-02-20T23:46:32.000Z","updated_at":"2025-06-27T00:29:50.000Z","dependencies_parsed_at":"2022-09-23T17:50:26.963Z","dependency_job_id":"1fe99ff6-26b6-4232-840b-b0e179ba023e","html_url":"https://github.com/arokettu/phpstorm-metadata-export","commit_stats":{"total_commits":150,"total_committers":1,"mean_commits":150.0,"dds":0.0,"last_synced_commit":"81b890757e1875bfd10a5c1942d136dd99383c92"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/arokettu/phpstorm-metadata-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arokettu%2Fphpstorm-metadata-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arokettu%2Fphpstorm-metadata-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arokettu%2Fphpstorm-metadata-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arokettu%2Fphpstorm-metadata-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arokettu","download_url":"https://codeload.github.com/arokettu/phpstorm-metadata-export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arokettu%2Fphpstorm-metadata-export/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266580377,"owners_count":23951214,"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":["code-completion","dependency-injection","phpstorm","pimple","silex","slim"],"created_at":"2024-10-15T01:28:18.051Z","updated_at":"2025-07-22T22:05:26.887Z","avatar_url":"https://github.com/arokettu.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Metadata Exporter for PhpStorm\n\n[![Packagist]][Packagist Link]\n[![license]][MIT License]\n[![Code Climate]][Code Climate Link]\n[![Gitlab pipeline status]][pipelines]\n[![Codecov]][codecov link]\n\n[Packagist]: https://img.shields.io/packagist/v/arokettu/phpstorm-metadata-export.svg?style=flat-square\n[license]: https://img.shields.io/github/license/arokettu/phpstorm-metadata-export.svg?style=flat-square\n[Code Climate]: https://img.shields.io/codeclimate/maintainability/sandfoxme/phpstorm-metadata-export.svg?style=flat-square\n[Gitlab pipeline status]: https://img.shields.io/gitlab/pipeline/sandfox/phpstorm-metadata-export/master.svg?style=flat-square\n[Codecov]: https://img.shields.io/codecov/c/gl/sandfox/phpstorm-metadata-export?style=flat-square\n\n[Packagist Link]: https://packagist.org/packages/arokettu/phpstorm-metadata-export\n[pipelines]: https://gitlab.com/sandfox/phpstorm-metadata-export/-/pipelines\n[codecov link]: https://codecov.io/gl/sandfox/phpstorm-metadata-export/\n[Code Climate Link]: https://codeclimate.com/github/sandfoxme/phpstorm-metadata-export\n\nExport [PhpStorm Advanced Metadata] from DI containers to enable code completion.\n\nThe library is inspired by [Pimple Container Dumper] for Silex,\nbut it doesn't require IDE plugin because it uses native PhpStorm export format.\nIt can integrate with any PSR-15 compliant framework\nand is extensible to support more DI containers and frameworks in the future.\n\n[PhpStorm Advanced Metadata]: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata\n[Pimple Container Dumper]: https://github.com/Sorien/silex-pimple-dumper\n\n## Installation\n\nInstall by composer\n\n```sh\ncomposer require arokettu/phpstorm-metadata-export --dev\n```\n\n## Container Support\n\nSupported containers:\n\n* [Pimple] (v3)\n* [PHP-DI] (v6, v7)\n* [Laminas ServiceManager] (v3, v4; permanently unstable)\n\nIntegration middlewares for:\n\n* [PSR-15] (Mezzio, Slim 4, ...)\n* [Slim 3]\n\n[Pimple]:   https://github.com/silexphp/Pimple\n[PHP-DI]:   http://php-di.org/\n[Laminas ServiceManager]:   https://docs.laminas.dev/laminas-servicemanager/\n[Slim 3]:   https://www.slimframework.com/\n[PSR-15]:   https://www.php-fig.org/psr/psr-15/\n\n## Example\n\n```php\n\u003c?php\n\n$container = new \\DI\\Container();\n// .phpstorm.meta.php must be in a root path of your project\n$storePath = __DIR__ '/.phpstorm.meta.php/sandfox_container_export.meta.php';\n\n// just generate the file content\n$metaPhp = \\Arokettu\\PhpStorm\\Metadata\\Generator::get([$container]);\nfile_put_contents($storePath, $metaPhp);\n\n// use middleware (Slim 4 example)\n$app = new \\Slim\\App();\n$app-\u003eaddMiddleware(new \\Arokettu\\PhpStorm\\Metadata\\Integration\\ContainerExportMiddleware($container, [\n    'filename' =\u003e $storePath,\n]));\n```\n\n## Documentation\n\nRead full documentation at \u003chttps://sandfox.dev/php/metadata-exporter-phpstorm.html\u003e\n\nAlso on Read the Docs: \u003chttps://phpstorm-metadata-export.readthedocs.io/\u003e\n\n## Support\n\nPlease file issues on our main repo at GitLab: \u003chttps://gitlab.com/sandfox/phpstorm-metadata-export/-/issues\u003e\n\nFeel free to ask any questions in our room on Gitter: \u003chttps://gitter.im/arokettu/community\u003e\n\n## License\n\nThe library is available as open source under the terms of the [MIT License].\nSee [LICENSE.md][MIT License].\n\n[MIT License]: ./LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farokettu%2Fphpstorm-metadata-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farokettu%2Fphpstorm-metadata-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farokettu%2Fphpstorm-metadata-export/lists"}