Skip to content

S-R0/homebrew-extensions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Homebrew Tap for PHP extensions

brew tap shivammathur/extensions

Build status Build status LICENSE PHP Versions Supported macOS architectures supported macOS architectures supported

Extensions

Extension PHP Version
amqp PHP 5.6 to PHP 8.1
apcu PHP 5.6 to PHP 8.1
grpc PHP 5.6 to PHP 8.1
igbinary PHP 5.6 to PHP 8.1
imagick PHP 5.6 to PHP 8.1
imap PHP 5.6 to PHP 8.1
memcache PHP 5.6 to PHP 8.1
memcached PHP 5.6 to PHP 8.1
msgpack PHP 5.6 to PHP 8.1
pcov PHP 7.1 to PHP 8.1
pecl_http PHP 5.6 to PHP 8.1
phalcon3 PHP 5.6 to PHP 7.3
phalcon4 PHP 7.2 to PHP 7.4
propro PHP 5.6 to PHP 7.4
protobuf PHP 5.6 to PHP 8.1
psr PHP 5.6 to PHP 8.1
raphf PHP 5.6 to PHP 8.1
redis PHP 5.6 to PHP 8.1
swoole PHP 5.6 to PHP 8.1
xdebug PHP 5.6 to PHP 8.1
xdebug2 PHP 7.2 to PHP 7.4
zmq PHP 5.6 to PHP 8.1

OS Support

Operating System Architecture
macOS Catalina x86_64
macOS Big Sur x86_64, arm64

Usage

Prerequisites

  • Update homebrew and the formulae:
brew update
  • Check that the required PHP version is installed. This tap works with PHP from both shivammathur/php tap and homebrew/core tap:
php -v
  • If not, install the required PHP version, For example to install PHP 7.4:
brew tap shivammathur/php
brew install shivammathur/php/[email protected]
brew link --force --overwrite [email protected]

Refer to shivammathur/php tap for more information about installing PHP.

Install PHP Extensions

  • Add Tap shivammathur/extensions:
brew tap shivammathur/extensions
  • Then install the required extension. See Formula directory for available formulae.

  • For example, to install Xdebug on PHP 7.4:

brew install [email protected]

Upgrade extensions

  • For example, to upgrade Xdebug on PHP 7.4.
brew upgrade [email protected]

Debugging

  • Make sure you ran brew update before installing PHP.

  • Run brew doctor and fix the warnings it reports.

  • Make sure homebrew has correct permissions.

sudo chown -R "$(id -un)":"$(id -gn)" $(brew --prefix)
  • Check if your issue is a Homebrew's common issue.

  • If you are still facing an issue, please create a discussion thread here.

License

The code in this project is licensed under the MIT license. Please see the license file for more information. This project has multiple dependencies. Their licenses can be found in their respective repositories.

Contributions

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

Related Projects

Dependencies

Extensions

Homebrew

Formulae dependencies

About

🍻 Homebrew tap for PHP extensions

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 97.5%
  • Shell 2.5%