{"id":30060892,"url":"https://github.com/rixbeck/composer-git-plugin","last_synced_at":"2025-08-08T01:50:13.487Z","repository":{"id":306239143,"uuid":"1025437419","full_name":"rixbeck/composer-git-plugin","owner":"rixbeck","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-24T14:02:21.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-24T14:52:39.275Z","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/rixbeck.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-24T08:52:40.000Z","updated_at":"2025-07-24T08:52:47.000Z","dependencies_parsed_at":"2025-07-24T14:53:07.584Z","dependency_job_id":"a31a40d1-f8fd-4c16-af9e-600cd3c0ce87","html_url":"https://github.com/rixbeck/composer-git-plugin","commit_stats":null,"previous_names":["rixbeck/composer-git-plugin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rixbeck/composer-git-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixbeck%2Fcomposer-git-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixbeck%2Fcomposer-git-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixbeck%2Fcomposer-git-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixbeck%2Fcomposer-git-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rixbeck","download_url":"https://codeload.github.com/rixbeck/composer-git-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rixbeck%2Fcomposer-git-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269351889,"owners_count":24402675,"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-07T02:00:09.698Z","response_time":73,"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":[],"created_at":"2025-08-08T01:50:08.333Z","updated_at":"2025-08-08T01:50:13.461Z","avatar_url":"https://github.com/rixbeck.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Composer Git Installer Plugin\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\nA Composer plugin that enables `git+\u003crepo\u003e@\u003cbranch\u003e` syntax for installing packages directly from Git repositories.\n\n## Features\n\n- Supports `git+https://` and `git+ssh://` URLs\n- Automatic package name resolution\n- Security validation pipeline\n- Error handling with recovery strategies\n- Support for subdirectories in repositories\n- Extensible architecture for custom parsers and validators\n\n## Installation\n\n### From Packagist\n\n```bash\ncomposer global require neologik/composer-git-installer\n```\n\n### From Source (Git)\n\nTo install the plugin from source when it's not published on Packagist:\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/rixbeck/composer-git-installer.git\n   cd composer-git-installer\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   composer install\n   ```\n\n3. **Add the local repository to Composer's global configuration:**\n   ```bash\n   # Add local repository to global config\n   composer global config repositories.local-git-installer path `pwd`\n   \n   # Set minimum-stability to dev for local development\n   composer global config minimum-stability dev\n   ```\n\n4. **Install the plugin globally from the local source:**\n   ```bash\n   composer global require neologik/composer-git-installer:dev-main\n   ```\n\n\u003e **Note:** Since this is a Composer plugin, it must be installed globally to be available across all projects. The plugin cannot be installed directly from Git using `composer global require` without first setting up a local repository configuration, as shown above.\n\n## Usage\n\nUse the `git+` syntax in your require commands:\n\n```bash\ncomposer require git+https://github.com/owner/repo@branch\n```\n\n\u003e **Note:** If you encounter a minimum-stability error (e.g., \"Could not find a version of package matching your minimum-stability (stable)\"), you may need to adjust your Composer stability settings:\n\u003e\n\u003e ```bash\n\u003e composer config minimum-stability dev\n\u003e ```\n\u003e\n\u003e Or, for a single command:\n\u003e\n\u003e ```bash\n\u003e composer require --prefer-stable git+https://github.com/owner/repo@branch\n\u003e ```\n\nThis will:\n1. Parse the git+ URL\n2. Validate the repository and reference\n3. Register the repository with Composer\n4. Install the package\n\n## Configuration\n\nAdd allowed hosts in your composer.json:\n\n```json\n{\n    \"extra\": {\n        \"git-installer-allowed-hosts\": [\n            \"github.com\",\n            \"gitlab.com\",\n            \"your-custom-git-server.com\"\n        ]\n    }\n}\n```\n\n## Requirements\n\n- PHP 8.1+\n- Composer 2.6+\n\n## Contributing\n\nContributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixbeck%2Fcomposer-git-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frixbeck%2Fcomposer-git-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frixbeck%2Fcomposer-git-plugin/lists"}