{"id":20776760,"url":"https://github.com/sjorek/composer-bash-completion","last_synced_at":"2025-04-30T18:08:55.807Z","repository":{"id":25933812,"uuid":"105763543","full_name":"sjorek/composer-bash-completion","owner":"sjorek","description":"Composer shell completion for Bash","archived":false,"fork":false,"pushed_at":"2022-06-19T12:04:34.000Z","size":106,"stargazers_count":10,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T18:08:30.078Z","etag":null,"topics":["bash","bash-completion","composer"],"latest_commit_sha":null,"homepage":"https://sjorek.github.io/composer-bash-completion/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sjorek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-04T12:05:56.000Z","updated_at":"2023-08-25T14:27:24.000Z","dependencies_parsed_at":"2022-09-20T07:41:37.048Z","dependency_job_id":null,"html_url":"https://github.com/sjorek/composer-bash-completion","commit_stats":null,"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fcomposer-bash-completion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fcomposer-bash-completion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fcomposer-bash-completion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fcomposer-bash-completion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjorek","download_url":"https://codeload.github.com/sjorek/composer-bash-completion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758169,"owners_count":21638989,"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":["bash","bash-completion","composer"],"created_at":"2024-11-17T13:11:40.812Z","updated_at":"2025-04-30T18:08:55.787Z","avatar_url":"https://github.com/sjorek.png","language":"PHP","readme":"# [Composer shell completion for Bash](https://sjorek.github.io/composer-bash-completion/)\n\nThe [`composer-completion.bash`](composer-completion.bash)\nscript provides shell completion in bash for [composer](https://getcomposer.org).\n\nThe completion routines support completing all composer commands and options,\neven if provided by plugins.\n\n\n## Installation\n\nIf you're using [Homebrew](https://brew.sh), you should tap my \n[Homebrew-PHP](https://sjorek.github.io/homebrew-php/) repository.\nAnd if you're using [MacPorts](https://www.macports.org), you should\nuse my [MacPorts-PHP](https://sjorek.github.io/macports-php) repository.\n\nManual installation (not recommend on Mac OS, see above):\n\n1. Ensure you installed:\n   * `bash` version ≥ 4.x, including ≥ 5.x\n   * `bash-completion` version ≥ 2.x\n   * additionally you need to have the following tools in `PATH`:\n       * `php` version ≥ 5.6, including ≥ 7.x and ≥ 8.x\n       * `grep`\n       * `sed`\n       * `tr`\n       * `sort`\n       * `uniq`\n   * … and last but not least, `composer` version ≥ 1.5, including ≥ 2.x\n\n2. Install `composer-completion.php` file:\n   * copy it somewhere (e.g. `~/.composer-completion.php`) and put the\n     following line in your `~/.bash_profile`:\n\n         export COMPOSER_COMPLETION_PHP_SCRIPT=~/.composer-completion.php\n\n   * you can also nail down the php interpreter to use by adding the\n     following line in your `~/.bash_profile`:\n\n         export COMPOSER_COMPLETION_PHP=/path/to/your/php\n\n3. Install `composer-completion.bash` file:\n   * a.) Either, place it in a `bash-completion.d` folder, like:\n       * `/etc/bash-completion.d`\n       * `/usr/local/etc/bash-completion.d`\n       * `~/.bash-completion.d`\n   * b.) Or, copy it somewhere (e.g. `~/.composer-completion.bash`) and put the\n     following line in your `~/.bash_completion`:\n\n         source ~/.composer-completion.bash\n\n\n## Contributing\n\nLook at the [contribution guidelines](CONTRIBUTING.md)\n\n\n## Want more?\n\nIf you're using [Homebrew](https://brew.sh), take a look at my \n[Homebrew-PHP](https://sjorek.github.io/homebrew-php/) tap.\n\nIf you're using [MacPorts](https://macports.org), take a look at my \n[MacPorts-PHP](https://sjorek.github.io/macports-php/) repository.\n\nCheers!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjorek%2Fcomposer-bash-completion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjorek%2Fcomposer-bash-completion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjorek%2Fcomposer-bash-completion/lists"}