Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork50
Homebrew tap for PHP extensions 🍻
License
shivammathur/homebrew-extensions
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
| Extension | PHP Version |
|---|---|
amqp | PHP 5.6 toPHP 8.6 |
apcu | PHP 5.6 toPHP 8.6 |
ast | PHP 7.0 toPHP 8.6 |
couchbase | PHP 5.6 toPHP 8.6 |
ds | PHP 7.0 toPHP 8.6 |
event | PHP 5.6 toPHP 8.6 |
expect | PHP 5.6 toPHP 8.6 |
gearman | PHP 5.6 toPHP 8.6 |
gnupg | PHP 5.6 toPHP 8.6 |
grpc | PHP 5.6 toPHP 8.6 |
igbinary | PHP 5.6 toPHP 8.6 |
imagick | PHP 5.6 toPHP 8.6 |
imap | PHP 5.6 toPHP 8.6 |
lua | PHP 5.6 toPHP 7.4 |
mailparse | PHP 5.6 toPHP 8.6 |
mcrypt | PHP 5.6 toPHP 8.6 |
memcache | PHP 5.6 toPHP 8.6 |
memcached | PHP 5.6 toPHP 8.6 |
mongodb1 | PHP 8.1 toPHP 8.6 |
mongodb | PHP 5.6 toPHP 8.6 |
msgpack | PHP 5.6 toPHP 8.6 |
newrelic | PHP 7.4 toPHP 8.4 |
opentelemetry | PHP 8.0 toPHP 8.6 |
pcov | PHP 7.1 toPHP 8.6 |
pdo_sqlsrv | PHP 7.0 toPHP 8.6 |
pecl_http | PHP 5.6 toPHP 8.6 |
phalcon3 | PHP 5.6 toPHP 7.3 |
phalcon4 | PHP 7.2 toPHP 7.4 |
phalcon5 | PHP 7.4 toPHP 8.4 |
propro | PHP 5.6 toPHP 7.4 |
protobuf | PHP 5.6 toPHP 8.6 |
psr | PHP 5.6 toPHP 8.6 |
raphf | PHP 5.6 toPHP 8.6 |
rdkafka | PHP 5.6 toPHP 8.6 |
redis | PHP 5.6 toPHP 8.6 |
snmp | PHP 5.6 toPHP 8.3 |
sqlsrv | PHP 7.0 toPHP 8.6 |
ssh2 | PHP 5.6 toPHP 8.6 |
spx | PHP 5.6 toPHP 8.6 |
swoole | PHP 5.6 toPHP 8.4 |
uuid | PHP 5.6 toPHP 8.6 |
v8js | PHP 7.0 toPHP 8.6 |
vips | PHP 7.0 toPHP 8.6 |
vld | PHP 5.6 toPHP 8.3 |
xdebug | PHP 5.6 toPHP 8.6 |
xdebug2 | PHP 7.2 toPHP 7.4 |
xhprof | PHP 7.0 toPHP 8.6 |
xlswriter | PHP 7.0 toPHP 8.6 |
yaml | PHP 5.6 toPHP 8.6 |
zmq | PHP 5.6 toPHP 8.6 |
zstd | PHP 7.0 toPHP 8.6 |
| Operating System | Architecture |
|---|---|
| Linux | x86_64 |
| macOS Tahoe | x86_64,arm64 |
| macOS Sequoia | x86_64,arm64 |
| macOS Sonoma | x86_64,arm64 |
- Update homebrew and the formulae:
brew update
- Check that the required PHP version is installed. This tap works with PHP from both
shivammathur/phptap andhomebrew/coretap:
php -v
- If not, install the required PHP version. For example, to install
PHP 8.4:
brew tap shivammathur/phpbrew install shivammathur/php/php@8.4brew link --force --overwrite shivammathur/php/php@8.4
Refer toshivammathur/php tap for more information about installing PHP.
- Add Tap
shivammathur/extensions:
brew tap shivammathur/extensions
Then install the required extension. SeeFormula directory for available formulae.
For example, to install
XdebugonPHP 8.4:
brew install shivammathur/extensions/xdebug@8.4
- For example, to upgrade
XdebugonPHP 8.4.
brew upgrade shivammathur/extensions/xdebug@8.4
If you are usingApache orNginx withphp-fpm, restart your webserver after installing or updating any PHP extensions.
- For Apache (
httpd):
brew services restart httpd
- For Nginx:
brew services restart nginx
Make sure you ran
brew updatebefore installing a PHP extension.Run
brew doctorand 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'scommon issue.
If you are still facing an issue, please create a discussion threadhere.
The code in this project is licensed under theMIT license.Please see thelicense file for more information. This project has multipledependencies. Their licenses can be found in their respective repositories.
Contributions are welcome!Please seeContributor's Guide before you start.If you face any issues while using this tap or want to suggest a feature/improvement, create a discussion threadhere.
In addition to GitHub Actions, we useMacStadium for our CI infrastructure.


This project is also generously supported by many other users and organisations viaGitHub Sponsors.
- arnaud-lb/php-rdkafka
- couchbase/couchbase-php-client
- grpc/grpc
- igbinary/igbinary
- Imagick/imagick
- jbboehr/php-psr
- krakjoe/apcu
- krakjoe/pcov
- libvips/php-vips-ext
- m6w6/ext-http
- m6w6/ext-propro
- m6w6/ext-raphf
- mongodb/mongo-php-driver
- msgpack/msgpack
- open-telemetry/opentelemetry-php-instrumentation
- osmanov/pecl-event
- phalcon/cphalcon
- php-amqp/php-amqp
- php-gnupg/php-gnupg
- php-memcached-dev/php-memcached
- php/pecl-file_formats-yaml
- php/pecl-mail-mailparse
- php/pecl-encryption-mcrypt
- php/pecl-networking-ssh2
- php/pecl-networking-uuid
- php/php-src
- phpredis/phpredis
- protocolbuffers/protobuf
- nikic/php-ast
- sibaz/pecl-expect
- swoole/swoole-src
- websupport-sk/pecl-memcache
- xdebug/xdebug
- longxinH/xhprof
- NoiseByNorthwest/spx
- xlswriter
- zeromq/php-zmq
- newrelic/newrelic-php-agent
About
Homebrew tap for PHP extensions 🍻
Topics
Resources
License
Code of conduct
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.