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 php@5.6
PHP 7.0 php@7.0
PHP 7.1 php@7.1
PHP 7.2 php@7.2
PHP 7.3 php@7.2
PHP 7.4 php or php@7.4
PHP 8.0.0-dev php@8.0
PHP 8.1.0-dev php@8.1

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/php@7.3

# Link PHP 7.3
brew link --overwrite --force php@7.3

Upgrade your PHP version

Upgrade your PHP version to the latest patch release.

For example, to upgrade PHP 7.3.

brew upgrade shivammathur/php/php@7.3

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 php@7.3

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%