{"id":13699800,"url":"https://github.com/shivammathur/homebrew-extensions","last_synced_at":"2025-04-14T08:59:07.918Z","repository":{"id":37826847,"uuid":"272870557","full_name":"shivammathur/homebrew-extensions","owner":"shivammathur","description":":beers: Homebrew tap for PHP extensions","archived":false,"fork":false,"pushed_at":"2025-04-06T10:05:54.000Z","size":10689,"stargazers_count":709,"open_issues_count":7,"forks_count":48,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-07T02:12:09.713Z","etag":null,"topics":["amqp","apcu","grpc","hacktoberfest","homebrew","homebrew-tap","http","igbinary","imagick","imap","memcached","msgpack","pcov","pecl","php","php-extensions","protobuf","redis","swoole","xdebug"],"latest_commit_sha":null,"homepage":"https://github.com/shivammathur/homebrew-extensions/packages","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shivammathur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"shivammathur"}},"created_at":"2020-06-17T03:37:40.000Z","updated_at":"2025-04-06T10:05:57.000Z","dependencies_parsed_at":"2024-01-23T11:27:41.914Z","dependency_job_id":"d291cd45-204d-463c-8573-ddd56ba88489","html_url":"https://github.com/shivammathur/homebrew-extensions","commit_stats":{"total_commits":11377,"total_committers":14,"mean_commits":812.6428571428571,"dds":"0.20682077876417337","last_synced_commit":"f9eaa8d6e40d7a1a41d801c2bb155cb412514b05"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fhomebrew-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fhomebrew-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fhomebrew-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shivammathur%2Fhomebrew-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shivammathur","download_url":"https://codeload.github.com/shivammathur/homebrew-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248852130,"owners_count":21171840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp","apcu","grpc","hacktoberfest","homebrew","homebrew-tap","http","igbinary","imagick","imap","memcached","msgpack","pcov","pecl","php","php-extensions","protobuf","redis","swoole","xdebug"],"created_at":"2024-08-02T20:00:43.631Z","updated_at":"2025-04-14T08:59:07.910Z","avatar_url":"https://github.com/shivammathur.png","language":"Ruby","funding_links":["https://github.com/sponsors/shivammathur"],"categories":["Distribution"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/shivammathur/homebrew-extensions\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://repository-images.githubusercontent.com/272870557/ec55a100-a309-11eb-9d60-a922ed6bebd4\" alt=\"Homebrew Tap for PHP extensions\" width=\"560\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cdiv id=\"top\"\u003e\u003c/div\u003e\n\u003ch1 align=\"center\"\u003ebrew tap shivammathur/extensions\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions\" title=\"Homebrew tap for PHP extensions\"\u003e\n      \u003cimg alt=\"Build status\" src=\"https://github.com/shivammathur/homebrew-extensions/workflows/Update%20and%20Build%20Formulae/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions\" title=\"Homebrew tap for PHP extensions\"\u003e\n      \u003cimg alt=\"Build status\" src=\"https://github.com/shivammathur/homebrew-extensions/workflows/Test%20Formulae/badge.svg\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions/blob/master/LICENSE\" title=\"license\"\u003e\n      \u003cimg alt=\"LICENSE\" src=\"https://img.shields.io/badge/license-MIT-428f7e.svg?logo=open%20source%20initiative\u0026logoColor=white\u0026labelColor=555555\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions/tree/master/Formula\" title=\"Formulae for PHP extensions\"\u003e\n      \u003cimg alt=\"PHP Versions Supported\" src=\"https://img.shields.io/badge/php-5.6%20to%208.5-777bb3.svg?logo=php\u0026logoColor=white\u0026labelColor=555555\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions#os-support\" title=\"Linux x86_64 supported\"\u003e\n      \u003cimg alt=\"Linux architectures supported\" src=\"https://img.shields.io/badge/Linux-x86__64%20-f6ab01?logo=linux\u0026logoColor=555555\u0026labelColor=ffffff\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions#os-support\" title=\"Apple Intel x86_64 supported\"\u003e\n      \u003cimg alt=\"macOS architectures supported\" src=\"https://img.shields.io/badge/macOS-Intel%20x86__64%20-007DC3?logo=apple\u0026logoColor=555555\u0026labelColor=ffffff\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/shivammathur/homebrew-extensions#os-support\" title=\"Apple arm64 supported\"\u003e\n      \u003cimg alt=\"macOS architectures supported\" src=\"https://img.shields.io/badge/macOS-Apple%20arm64%20-c0476d?logo=apple\u0026logoColor=555555\u0026labelColor=ffffff\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Extensions\n\n| Extension       | PHP Version            |\n|-----------------|------------------------|\n| `amqp`          | `PHP 5.6` to `PHP 8.5` |\n| `apcu`          | `PHP 5.6` to `PHP 8.5` |\n| `ast`           | `PHP 7.0` to `PHP 8.5` |\n| `couchbase`     | `PHP 5.6` to `PHP 8.5` |\n| `ds`            | `PHP 7.0` to `PHP 8.5` |\n| `event`         | `PHP 5.6` to `PHP 8.5` |\n| `expect`        | `PHP 5.6` to `PHP 8.5` |\n| `gearman`       | `PHP 5.6` to `PHP 8.5` |\n| `gnupg`         | `PHP 5.6` to `PHP 8.5` |\n| `grpc`          | `PHP 5.6` to `PHP 8.5` |\n| `igbinary`      | `PHP 5.6` to `PHP 8.5` |\n| `imagick`       | `PHP 5.6` to `PHP 8.5` |\n| `imap`          | `PHP 5.6` to `PHP 8.5` |\n| `lua`           | `PHP 5.6` to `PHP 7.4` |\n| `mailparse`     | `PHP 5.6` to `PHP 8.5` |\n| `mcrypt`        | `PHP 5.6` to `PHP 8.5` |\n| `memcache`      | `PHP 5.6` to `PHP 8.5` |\n| `memcached`     | `PHP 5.6` to `PHP 8.5` |\n| `mongodb1`      | `PHP 8.1` to `PHP 8.5` |\n| `mongodb`       | `PHP 5.6` to `PHP 8.5` |\n| `msgpack`       | `PHP 5.6` to `PHP 8.5` |\n| `newrelic`      | `PHP 7.4` to `PHP 8.4` |\n| `opentelemetry` | `PHP 8.0` to `PHP 8.5` |\n| `pcov`          | `PHP 7.1` to `PHP 8.5` |\n| `pdo_sqlsrv`    | `PHP 7.0` to `PHP 8.5` |\n| `pecl_http`     | `PHP 5.6` to `PHP 8.5` |\n| `phalcon3`      | `PHP 5.6` to `PHP 7.3` |\n| `phalcon4`      | `PHP 7.2` to `PHP 7.4` |\n| `phalcon5`      | `PHP 7.4` to `PHP 8.5` |\n| `propro`        | `PHP 5.6` to `PHP 7.4` |\n| `protobuf`      | `PHP 5.6` to `PHP 8.5` |\n| `psr`           | `PHP 5.6` to `PHP 8.5` |\n| `raphf`         | `PHP 5.6` to `PHP 8.5` |\n| `rdkafka`       | `PHP 5.6` to `PHP 8.5` |\n| `redis`         | `PHP 5.6` to `PHP 8.5` |\n| `snmp`          | `PHP 5.6` to `PHP 8.5` |\n| `sqlsrv`        | `PHP 7.0` to `PHP 8.5` |\n| `ssh2`          | `PHP 5.6` to `PHP 8.5` |\n| `swoole`        | `PHP 5.6` to `PHP 8.4` |\n| `uuid`          | `PHP 5.6` to `PHP 8.5` |\n| `v8js`          | `PHP 7.0` to `PHP 8.3` |\n| `vips`          | `PHP 7.0` to `PHP 8.5` |\n| `vld`           | `PHP 5.6` to `PHP 8.3` |\n| `xdebug`        | `PHP 5.6` to `PHP 8.5` |\n| `xdebug2`       | `PHP 7.2` to `PHP 7.4` |\n| `xlswriter`     | `PHP 7.0` to `PHP 8.5` |\n| `yaml`          | `PHP 5.6` to `PHP 8.5` |\n| `zmq`           | `PHP 5.6` to `PHP 8.5` |\n| `zstd`          | `PHP 7.0` to `PHP 8.5` |\n\n## OS Support\n\n| Operating System | Architecture      |\n|------------------|-------------------|\n| Linux            | `x86_64`          |\n| macOS Sequoia    | `x86_64`, `arm64` |\n| macOS Sonoma     | `x86_64`, `arm64` |\n| macOS Ventura    | `x86_64`, `arm64` |\n\n## Usage\n\n### Prerequisites\n\n- Update homebrew and the formulae:\n\n```zsh\nbrew update\n```\n\n- Check that the required PHP version is installed. This tap works with PHP from both `shivammathur/php` tap and `homebrew/core` tap:\n\n```zsh\nphp -v\n```\n- If not, install the required PHP version. For example, to install `PHP 8.4`:\n\n```zsh\nbrew tap shivammathur/php\nbrew install shivammathur/php/php@8.4\nbrew link --force --overwrite shivammathur/php/php@8.4\n```\n\nRefer to [shivammathur/php](https://github.com/shivammathur/homebrew-php) tap for more information about installing PHP.\n\n### Install PHP Extensions\n\n- Add Tap `shivammathur/extensions`:\n\n```zsh\nbrew tap shivammathur/extensions\n```\n\n- Then install the required extension. See [Formula](Formula) directory for available formulae.\n\n- For example, to install `Xdebug` on `PHP 8.4`:\n\n```zsh\nbrew install shivammathur/extensions/xdebug@8.4\n```\n\n### Upgrade extensions\n\n- For example, to upgrade `Xdebug` on `PHP 8.4`.\n\n```zsh\nbrew upgrade shivammathur/extensions/xdebug@8.4\n```\n\n### Restart your webserver\n\nIf you are using `Apache` or `Nginx` with `php-fpm`, restart your webserver after installing or updating any PHP extensions.\n\n- For Apache (`httpd`):\n\n```zsh\nbrew services restart httpd\n```\n- For Nginx:\n\n```zsh\nbrew services restart nginx\n```\n\n## Debugging\n\n- Make sure you ran `brew update` before installing a PHP extension.\n\n- Run `brew doctor` and fix the warnings it reports.\n\n- Make sure homebrew has correct permissions.\n\n```zsh\nsudo chown -R \"$(id -un)\":\"$(id -gn)\" $(brew --prefix)\n```\n\n- Check if your issue is a Homebrew's [common issue](https://docs.brew.sh/Common-Issues).\n\n- If you are still facing an issue, please create a discussion thread [here](https://github.com/shivammathur/homebrew-extensions/discussions).\n\n## License\n\nThe code in this project is licensed under the [MIT license](http://choosealicense.com/licenses/mit/).\nPlease see the [license file](LICENSE) for more information. This project has multiple [dependencies](#dependencies \"Dependencies for this Homebrew tap\"). Their licenses can be found in their respective repositories.\n\n## Contributions\n\nContributions are welcome!\nPlease see [Contributor's Guide](.github/CONTRIBUTING.md \"shivammathur/homebrew-extensions contribution guide\") before you start.\nIf you face any issues while using this tap or want to suggest a feature/improvement, create a discussion thread [here](https://github.com/shivammathur/homebrew-extensions/discussions \"shivammathur/extensions discussions\").\n\n## Sponsors\n\nIn addition to GitHub Actions, we use [MacStadium](https://www.macstadium.com/opensource/members) for our CI infrastructure.\n\n\u003ca href=\"https://www.macstadium.com/opensource/members#gh-light-mode-only\"\u003e\n    \u003cimg src=\"https://setup-php.com/sponsors/macstadium.png\" alt=\"Mac Stadium\" width=\"200px\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://www.macstadium.com/opensource/members#gh-dark-mode-only\"\u003e\n    \u003cimg src=\"https://setup-php.com/sponsors/macstadium-white.png\" alt=\"Mac Stadium\" width=\"200px\"\u003e\n\u003c/a\u003e\n\nThis project is also generously supported by many other users and organisations via [GitHub Sponsors](https://github.com/sponsors/shivammathur).\n\n\u003ca href=\"https://github.com/sponsors/shivammathur\"\u003e\u003cimg src=\"https://setup-php.com/sponsors.svg?\" alt=\"Sponsor shivammathur\"\u003e\u003c/a\u003e\n\n## Related Projects\n\n- [shivammathur/homebrew-php](https://github.com/shivammathur/homebrew-php \"Tap for PHP\")\n- [shivammathur/setup-php](https://github.com/shivammathur/setup-php \"Setup PHP in GitHub Actions\")\n\n## Dependencies\n\n### Extensions\n\n- [arnaud-lb/php-rdkafka](https://github.com/arnaud-lb/php-rdkafka \"rdkafka\")\n- [couchbase/couchbase-php-client](https://github.com/couchbase/couchbase-php-client \"couchbase\")\n- [grpc/grpc](https://github.com/grpc/grpc \"gRPC\")\n- [igbinary/igbinary](https://github.com/igbinary/igbinary \"igbinary\")\n- [Imagick/imagick](https://github.com/Imagick/imagick \"Imagick\")\n- [jbboehr/php-psr](https://github.com/jbboehr/php-psr \"Psr\")\n- [krakjoe/apcu](https://github.com/krakjoe/apcu \"APCu\")\n- [krakjoe/pcov](https://github.com/krakjoe/pcov \"PCOV\")\n- [libvips/php-vips-ext](https://github.com/libvips/php-vips-ext \"Vips\")\n- [m6w6/ext-http](https://github.com/m6w6/ext-http.git \"PECL-HTTP\")\n- [m6w6/ext-propro](https://github.com/m6w6/ext-propro \"Propro\")\n- [m6w6/ext-raphf](https://github.com/m6w6/ext-raphf \"Raphf\")\n- [mongodb/mongo-php-driver](https://github.com/mongodb/mongo-php-driver \"Mongodb\")\n- [msgpack/msgpack](https://github.com/msgpack/msgpack-php \"Msgpack\")\n- [open-telemetry/opentelemetry-php-instrumentation](https://github.com/open-telemetry/opentelemetry-php-instrumentation \"OpenTelemetry auto-instrumentation extension\")\n- [osmanov/pecl-event](https://bitbucket.org/osmanov/pecl-event \"Event\")\n- [phalcon/cphalcon](https://github.com/phalcon/cphalcon \"Phalcon\")\n- [php-amqp/php-amqp](https://github.com/php-amqp/php-amqp \"amqp\")\n- [php-gnupg/php-gnupg](https://github.com/php-gnupg/php-gnupg \"gnupg\")\n- [php-memcached-dev/php-memcached](https://github.com/php-memcached-dev/php-memcached \"Memcached\")\n- [php/pecl-file_formats-yaml](https://github.com/php/pecl-file_formats-yaml \"PHP YAML\")\n- [php/pecl-mail-mailparse](https://github.com/php/pecl-mail-mailparse \"PHP Mailparse\")\n- [php/pecl-encryption-mcrypt](https://github.com/php/pecl-encryption-mcrypt \"PHP Mcrypt\")\n- [php/pecl-networking-ssh2](https://github.com/php/pecl-networking-ssh2 \"PHP SSH2\")\n- [php/pecl-networking-uuid](https://github.com/php/pecl-networking-uuid \"PHP UUID\")\n- [php/php-src](https://github.com/php/php-src \"PHP Source\")\n- [phpredis/phpredis](https://github.com/phpredis/phpredis \"Redis\")\n- [protocolbuffers/protobuf](https://github.com/protocolbuffers/protobuf \"protocolbuffers\")\n- [nikic/php-ast](https://github.com/nikic/php-ast \"PHP AST\")\n- [sibaz/pecl-expect](https://github.com/sibaz/pecl-expect \"expect\")\n- [swoole/swoole-src](https://github.com/swoole/swoole-src \"Swoole\")\n- [websupport-sk/pecl-memcache](https://github.com/websupport-sk/pecl-memcache \"Memcache\")\n- [xdebug/xdebug](https://github.com/xdebug/xdebug \"Xdebug\")\n- [xlswriter](https://github.com/viest/php-ext-xlswriter.git \"xlswriter\")\n- [zeromq/php-zmq](https://github.com/zeromq/php-zmq \"ZMQ\")\n- [newrelic/newrelic-php-agent](https://github.com/newrelic/newrelic-php-agent \"newrelic\")\n\n### Homebrew\n\n- [homebrew/brew](https://github.com/Homebrew/brew \"Homebrew/brew\")\n- [homebrew/actions](https://github.com/Homebrew/homebrew-actions \"Homebrew/homebrew-actions\")\n- [homebrew/core](https://github.com/Homebrew/homebrew-core \"Homebrew/homebrew-core\")\n- [homebrew/homebrew-test-bot](https://github.com/homebrew/homebrew-test-bot \"homebrew/homebrew-test-bot\")\n- [shivammathur/php](https://github.com/shivammathur/homebrew-php \"shivammathur/homebrew-php\")\n\n### Formulae dependencies\n\n- [brotli](https://formulae.brew.sh/formula/brotli \"brotli\")\n- [curl](https://formulae.brew.sh/formula/curl \"curl\")\n- [czmq](https://formulae.brew.sh/formula/czmq \"czmq\")\n- [expect](https://formulae.brew.sh/formula/expect \"expect\")\n- [gpgme](https://formulae.brew.sh/formula/gpgme \"gpgme\")\n- [grpc](https://formulae.brew.sh/formula/grpc \"grpc\")\n- [icu4c](https://formulae.brew.sh/formula/icu4c \"icu4c\")\n- [imagemagick](https://formulae.brew.sh/formula/imagemagick \"imagemagick\")\n- [imap-uw](https://formulae.brew.sh/formula/imap-uw \"imap\")\n- [krb5](https://formulae.brew.sh/formula/krb5 \"krb5\")\n- [libevent](https://formulae.brew.sh/formula/libevent \"libevent\")\n- [libidn2](https://formulae.brew.sh/formula/libidn2 \"libidn2\")\n- [liblzf](https://formulae.brew.sh/formula/liblzf \"liblzf\")\n- [libcouchbase](https://formulae.brew.sh/formula/libcouchbase \"libcouchbase\")\n- [libmcrypt](https://sourceforge.net/projects/mcrypt/files/Libmcrypt/ \"libmcrypt\")\n- [libmemcached](https://formulae.brew.sh/formula/libmemcached \"libmemcached\")\n- [librdkafka](https://formulae.brew.sh/formula/librdkafka \"librdkafka\")\n- [libssh2](https://formulae.brew.sh/formula/libssh2 \"libssh2\")\n- [libyaml](https://formulae.brew.sh/formula/libyaml \"libyaml\")\n- [lz4](https://formulae.brew.sh/formula/lz4 \"lz4\")\n- [net-snmp](https://formulae.brew.sh/formula/net-snmp \"net-snmp\")\n- [openssl](https://formulae.brew.sh/formula/openssl@3 \"openssl\")\n- [ossp-uuid](https://formulae.brew.sh/formula/ossp-uuid \"ossp-uuid\")\n- [pcre](https://formulae.brew.sh/formula/pcre \"pcre\")\n- [protobuf-c](https://formulae.brew.sh/formula/protobuf-c \"protobuf-c\")\n- [rabbitmq-c](https://formulae.brew.sh/formula/rabbitmq-c \"rabbitmq\")\n- [snappy](https://formulae.brew.sh/formula/snappy \"snappy\")\n- [vips](https://formulae.brew.sh/formula/vips \"vips\")\n- [zeromq](https://formulae.brew.sh/formula/zeromq \"zeromq\")\n- [zstd](https://formulae.brew.sh/formula/zstd \"zstd\")\n\n\u003cp align=\"right\"\u003e\u003ca href=\"#top\"\u003e🔼 Back to top\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivammathur%2Fhomebrew-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivammathur%2Fhomebrew-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivammathur%2Fhomebrew-extensions/lists"}