Skip to content

🍻 Homebrew tap for PHP 5.6 to 8.1. PHP 8.0 and 8.1 are nightly builds

License

MIT, BSD-2-Clause licenses found

Licenses found

MIT
LICENSE
BSD-2-Clause
LICENSE_HOMEBREW
Notifications You must be signed in to change notification settings

tomchandra/homebrew-php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

shivammathur/homebrew-php

Build status LICENSE PHP Versions Supported

Homebrew tap for PHP releases.

PHP Support

PHP Version Formula
PHP 5.6 [email protected]
PHP 7.0 [email protected]
PHP 7.1 [email protected]
PHP 7.2 [email protected]
PHP 7.3 [email protected]
PHP 7.4 php or [email protected]
PHP 8.0.0-dev [email protected]
PHP 8.1.0-dev [email protected]

Usage

Update brew

Update brew and the formulae before installing PHP.

brew update

Add the tap

Fetch the formulae in this tap.

brew tap shivammathur/php

Install PHP

See PHP Support for available formulae.

For example, to install PHP 7.3.

# Install PHP 7.3
brew install shivammathur/php/[email protected]

# Link PHP 7.3
brew link --overwrite --force [email protected]

Upgrade your PHP version

Upgrade your PHP version to the latest patch release.

For example, to upgrade PHP 7.3.

brew upgrade shivammathur/php/[email protected]

Switch between PHP versions

If you have multiple PHP versions installed, you can switch between them easily.

For example, to switch to PHP 7.3.

brew link --overwrite --force [email protected]

License

The code in this project is licensed under the MIT license. Please see the license file for more information.

Formulae for PHP versions which are supported currently in the PHP release cycle are synced from homebrew-core tap and their license can be found here.

Contributions

Contributions are welcome! Please see Contributor's Guide before you start. If you face any issues while using this or want to suggest a feature/improvement, create an issue here.

Related Projects

About

🍻 Homebrew tap for PHP 5.6 to 8.1. PHP 8.0 and 8.1 are nightly builds

Resources

License

MIT, BSD-2-Clause licenses found

Licenses found

MIT
LICENSE
BSD-2-Clause
LICENSE_HOMEBREW

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 95.1%
  • Shell 4.8%
  • Roff 0.1%