{"repo":"php-actions/composer","free":true,"listed":false,"github":"https://github.com/php-actions/composer","clone":"git clone https://github.com/php-actions/composer.git","description":"Use the Composer CLI in your Github Actions.","language":"Shell","stars":198,"topics":["actions","github","github-actions","php","composer","ci"],"license":null,"category":"cli-tools","readme_excerpt":"Use the Composer CLI in your Github Actions. ============================================ Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on, and it will manage (install/update) them for you. If you are running tests like [PHPUnit][php-actions-phpunit], [phpspec][php-actions-phpspec] or [Behat][php-actions-behat] in your Github actions, chances are you will need to install your project's dependencies using Composer. An example repository has been created at https://github.com/php-actions/example-composer to show how to use this action in a real project. The repository also depends on a private dependency and uses SSH keys for authentication. Usage ----- Create your Github Workflow configuration in .github/workflows/ci.yml or similar. Version numbers This action is released with semantic version numbers, but also tagged so the latest major release's tag always points to the latest release within the matching major version. Please feel free to use uses: php-actions/composer@v6 to always run the latest version of v6, or uses: php-actions/composer@v6.0.0 to specify the exact release. Running custom commands ----------------------- By default, adding - uses: php-actions/composer@v6 into your workflow will run composer install , as install is the default command name. The install command will be provided with a default set of arguments (see below). You can issue custom commands by passing a command input, like so: Pas","default_branch":null,"files":null,"tree":[],"storefront":"/r/php-actions","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/php-actions/composer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}