{"id":20776776,"url":"https://github.com/sjorek/phpunit-bash-completion","last_synced_at":"2025-07-07T22:09:05.825Z","repository":{"id":142486706,"uuid":"107996362","full_name":"sjorek/phpunit-bash-completion","owner":"sjorek","description":"PHPUnit shell completion for Bash","archived":false,"fork":false,"pushed_at":"2018-03-24T10:20:12.000Z","size":34,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T21:44:29.923Z","etag":null,"topics":["bash","bash-completion","phpunit"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-23T14:48:23.000Z","updated_at":"2020-08-31T22:31:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3720258-955f-4ed6-a861-45fb71a5289f","html_url":"https://github.com/sjorek/phpunit-bash-completion","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/sjorek/phpunit-bash-completion","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fphpunit-bash-completion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fphpunit-bash-completion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fphpunit-bash-completion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fphpunit-bash-completion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjorek","download_url":"https://codeload.github.com/sjorek/phpunit-bash-completion/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjorek%2Fphpunit-bash-completion/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264152659,"owners_count":23564949,"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","phpunit"],"created_at":"2024-11-17T13:11:43.313Z","updated_at":"2025-07-07T22:09:05.785Z","avatar_url":"https://github.com/sjorek.png","language":"Shell","readme":"# [PHPUnit shell completion for Bash](https://sjorek.github.io/phpunit-bash-completion/)\n\nThe [`phpunit-completion.bash`](phpunit-completion.bash)\nscript provides shell completion in bash for [PHPUnit](https://phpunit.de).\n\nThe completion routines support completing all options and arguments provided by PHPUnit.\n\n\n## Installation\n\n1. Ensure you installed:\n   * `bash` version \u003e= 4.1\n   * `bash-completion` version \u003e= 2.0\n   * `grep` in `$PATH`\n   * `awk` in `$PATH`\n   * `cut` in `$PATH`\n   * `sed` in `$PATH`\n   * `tr` in `$PATH`\n   * ... and last but not least, `phpunit` version \u003e= 6.4 of course!\n\n2. Install `phpunit-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. `~/.phpunit-completion.sh`) and put the\n     following line in your `.bashrc`:\n\n     `source ~/.phpunit-completion.sh`\n   * c.) If you're using [MacPorts](https://www.macports.org) then you should\n     take a look at my [MacPorts-PHP](https://sjorek.github.io/macports-php)\n     repository.\n\n3. Optionally nail down the php interpreter used to determine certain\n   completions by adding the following line in your `~/.bash_profile`:\n\n         export PHPUNIT_COMPLETION_PHP=/path/to/your/php\n\n\n## Contributing\n\nLook at the [contribution guidelines](CONTRIBUTING.md)\n\n\n## Want more?\n\nThere is a [composer-bash-completion](https://sjorek.github.io/composer-bash-completion/)\ncomplementing the bash-completion. And - once more - if you're using [MacPorts](http://macports.org),\ntake a look at my [MacPorts-PHP](https://sjorek.github.io/macports-php/)\nrepository.\n\nCheers!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjorek%2Fphpunit-bash-completion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjorek%2Fphpunit-bash-completion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjorek%2Fphpunit-bash-completion/lists"}