{"id":23098932,"url":"https://github.com/cslant/composer-plugin-example","last_synced_at":"2025-08-16T12:33:51.843Z","repository":{"id":207298316,"uuid":"718911032","full_name":"cslant/composer-plugin-example","owner":"cslant","description":"An example of a composer plugin for PHP","archived":false,"fork":false,"pushed_at":"2024-10-27T17:18:30.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-04T12:22:19.189Z","etag":null,"topics":["composer","composer-installer","composer-package","composer-packages","composer-plugin","composer-scripts","cslant","packagist","php-plugin","php-plugins","plugin"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/cslant/composer-plugin-example","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/cslant.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-15T03:18:23.000Z","updated_at":"2025-03-27T15:54:53.000Z","dependencies_parsed_at":"2023-11-15T04:27:45.986Z","dependency_job_id":"78468d10-fd48-4a31-9dfc-989ebe0b4558","html_url":"https://github.com/cslant/composer-plugin-example","commit_stats":null,"previous_names":["tanhongit/composer-plugin-example"],"tags_count":3,"template":true,"template_full_name":null,"purl":"pkg:github/cslant/composer-plugin-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fcomposer-plugin-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fcomposer-plugin-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fcomposer-plugin-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fcomposer-plugin-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cslant","download_url":"https://codeload.github.com/cslant/composer-plugin-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fcomposer-plugin-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270709083,"owners_count":24631992,"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-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["composer","composer-installer","composer-package","composer-packages","composer-plugin","composer-scripts","cslant","packagist","php-plugin","php-plugins","plugin"],"created_at":"2024-12-16T23:15:18.011Z","updated_at":"2025-08-16T12:33:51.448Z","avatar_url":"https://github.com/cslant.png","language":"PHP","readme":"# Composer plugin example\n\nHere is a simple example of a composer plugin.\n\n## Structure\n\n```\nplugin\n├── src\n│   └── Plugin.php\n├── composer.json\n├── composer.lock\n```\n\n\n## Usage \n\n### Add require into composer.json\n\n```json\n{\n  \"require\": {\n    \"cslant/composer-plugin-example\": \"dev-main\"\n  },\n  \"repositories\": [\n    {\n      \"type\": \"git\",\n      \"url\": \"https://github.com/cslant/composer-plugin-example.git\"\n    }\n  ]\n}\n```\n\n### Run composer command\n\n```bash\ncomposer update\n```\n\n### Check vendor directory\n\n```bash\nls vendor/cslant/composer-plugin-example\n```\n\n## Reference\n\n- [Composer Plugin API](https://getcomposer.org/doc/articles/plugins.md)\n\n## Composer install demo\n\n```bash\ncomposer require cslant/composer-plugin-example\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fcomposer-plugin-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcslant%2Fcomposer-plugin-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fcomposer-plugin-example/lists"}