GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools. 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 Usage section and examples to see how to use this. Refer to the self-hosted setup to use the action on self-hosted runners. Operating systems based on the above Ubuntu and Debian versions are also supported on best effort basis. If the requested PHP version is pre-installed, setup-PHP switches to it, otherwise it installs the PHP version. Specific versions of extensions available on PECL can be set up by suffixing the extension's name with the version. This is useful for installing old versions of extensions that support end-of-life PHP versions.

Features

  • PHP 5.3 to PHP 8.2 on GitHub-hosted runners supported
  • PHP 5.6 to PHP 8.2 on self-hosted runners supported
  • PHP extensions can be set up using the extensions input
  • On Windows, extensions available on PECL which have the DLL binary can be set up
  • Extensions installed along with PHP if specified are enabled
  • Shared extensions can be disabled

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Setup PHP in GitHub Actions

Setup PHP in GitHub Actions Web Site

Other Useful Business Software
DataImpulse - Ethical Provider of Residential, Mobile, and Data Center IPs Icon
DataImpulse - Ethical Provider of Residential, Mobile, and Data Center IPs

For anyone looking for residential proxies, mobile proxies, and datacenter proxies

DataImpulse (dataimpulse.com) is a proxy provider offering a pool of over 90 million ethically sourced residential, mobile, and data center IP addresses from 195 countries. Pricing for residential proxies starts at $1 per GB with a pay-as-you-go model; there are no subscriptions or traffic expiration dates.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Setup PHP in GitHub Actions!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Software Development Software, TypeScript Browser Extensions and Plugins, TypeScript Code Coverage Tool

Registered

2022-05-25