{"repo":"shivammathur/setup-php","free":true,"listed":false,"github":"https://github.com/shivammathur/setup-php","clone":"git clone https://github.com/shivammathur/setup-php.git","description":"GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.","language":"TypeScript","stars":3249,"topics":["php","github-actions","php-extensions","code-coverage","tools","continuous-integration","composer","static-analysis"],"license":"MIT","category":"dev-tools","readme_excerpt":"Setup PHP in GitHub Actions Setup PHP with required extensions, php.ini configuration, code-coverage support, and various tools like composer in GitHub Actions. This action gives you a cross-platform interface to set up the PHP environment you need to test your application. Refer to the Usage section and examples to see how to use this. Contents - OS/Platform Support - GitHub-Hosted Runners - Self-Hosted Runners - PHP Support - PHP Extension Support - Tools Support - Coverage Support - Xdebug - PCOV - Disable Coverage - Usage - Inputs - Outputs - Flags - Basic Setup - Matrix Setup - Nightly Build Setup - Debug Build Setup - Thread Safe Setup - Force Update Setup - Verbose Setup - Multi-Arch Setup - Self Hosted Setup - Local Testing Setup - JIT Configuration - Cache Extensions - Cache Composer Dependencies - GitHub Composer Authentication - Private Packagist Authentication - Manual Composer Authentication - Inline PHP Scripts - Problem Matchers - Examples - Versioning - License - Contributions - Support This Project - Dependencies - Further Reading :cloud: OS/Platform Support Both GitHub-hosted and self-hosted runners are supported by setup-php on the following OS/Platforms. GitHub-Hosted Runners Virtual environment Arch YAML workflow label Pre-installed PHP --------------------- --------- ------------------------------------ ------------------- Ubuntu 26.04 x86 64 ubuntu-26.04 PHP 8.5 Ubuntu 24.04 x86 64 ubuntu-latest or ubuntu-24.04 PHP 8.3 Ubuntu 22.04 x86 64 ubuntu-22.04 P","default_branch":null,"files":null,"tree":[],"storefront":"/r/shivammathur","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shivammathur/setup-php/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."}