shivammathur / homebrew-extensions

:beers: Homebrew tap for PHP extensions
https://github.com/shivammathur/homebrew-extensions/packages
MIT License
665 stars 48 forks source link
amqp apcu grpc hacktoberfest homebrew homebrew-tap http igbinary imagick imap memcached msgpack pcov pecl php php-extensions protobuf redis swoole xdebug

Homebrew Tap for PHP extensions

brew tap shivammathur/extensions

Build status Build status LICENSE PHP Versions Supported

Linux architectures supported macOS architectures supported macOS architectures supported

Extensions

Extension PHP Version
amqp PHP 5.6 to PHP 8.4
apcu PHP 5.6 to PHP 8.4
ast PHP 7.0 to PHP 8.4
couchbase PHP 5.6 to PHP 8.4
ds PHP 7.0 to PHP 8.4
event PHP 5.6 to PHP 8.4
expect PHP 5.6 to PHP 8.4
gearman PHP 5.6 to PHP 8.4
gnupg PHP 5.6 to PHP 8.4
grpc PHP 5.6 to PHP 8.4
igbinary PHP 5.6 to PHP 8.4
imagick PHP 5.6 to PHP 8.4
imap PHP 5.6 to PHP 8.4
lua PHP 5.6 to PHP 7.4
mailparse PHP 5.6 to PHP 8.4
mcrypt PHP 5.6 to PHP 8.4
memcache PHP 5.6 to PHP 8.4
memcached PHP 5.6 to PHP 8.4
mongodb PHP 5.6 to PHP 8.4
msgpack PHP 5.6 to PHP 8.4
newrelic PHP 7.4 to PHP 8.4
opentelemetry PHP 8.0 to PHP 8.4
pcov PHP 7.1 to PHP 8.4
pdo_sqlsrv PHP 7.0 to PHP 8.4
pecl_http PHP 5.6 to PHP 8.4
phalcon3 PHP 5.6 to PHP 7.3
phalcon4 PHP 7.2 to PHP 7.4
phalcon5 PHP 7.4 to PHP 8.3
propro PHP 5.6 to PHP 7.4
protobuf PHP 5.6 to PHP 8.4
psr PHP 5.6 to PHP 8.4
raphf PHP 5.6 to PHP 8.4
rdkafka PHP 5.6 to PHP 8.4
redis PHP 5.6 to PHP 8.4
snmp PHP 5.6 to PHP 8.4
sqlsrv PHP 7.0 to PHP 8.4
ssh2 PHP 5.6 to PHP 8.4
swoole PHP 5.6 to PHP 8.4
uuid PHP 5.6 to PHP 8.4
v8js PHP 7.0 to PHP 8.3
vips PHP 7.0 to PHP 8.4
vld PHP 5.6 to PHP 8.3
xdebug PHP 5.6 to PHP 8.4
xdebug2 PHP 7.2 to PHP 7.4
xlswriter PHP 7.0 to PHP 8.4
yaml PHP 5.6 to PHP 8.4
zmq PHP 5.6 to PHP 8.4

OS Support

Operating System Architecture
Linux x86_64
macOS Monterey x86_64, arm64
macOS Ventura x86_64, arm64
macOS Sonoma x86_64, arm64

Usage

Prerequisites

brew update
php -v
brew tap shivammathur/php
brew install shivammathur/php/php@8.3
brew link --force --overwrite shivammathur/php/php@8.3

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

Install PHP Extensions

brew tap shivammathur/extensions
brew install shivammathur/extensions/xdebug@8.3

Upgrade extensions

brew upgrade shivammathur/extensions/xdebug@8.3

Restart your webserver

If you are using Apache or Nginx with php-fpm, restart your webserver after installing or updating any PHP extensions.

brew services restart httpd
brew services restart nginx

Debugging

sudo chown -R "$(id -un)":"$(id -gn)" $(brew --prefix)

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 a discussion thread here.

Sponsors

In addition to GitHub Actions, we use MacStadium for our CI infrastructure.

Mac Stadium

Mac Stadium

This project is also generously supported by many other users and organisations via GitHub Sponsors.

Sponsor shivammathur

Related Projects

Dependencies

Extensions

Homebrew

Formulae dependencies

🔼 Back to top