• Stars
    star
    567
  • Rank 75,465 (Top 2 %)
  • Language
    Ruby
  • License
    MIT License
  • Created almost 4 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

🍻 Homebrew tap for PHP extensions

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.3
apcu PHP 5.6 to PHP 8.3
ast PHP 7.0 to PHP 8.3
couchbase PHP 5.6 to PHP 8.3
ds PHP 7.0 to PHP 8.3
event PHP 5.6 to PHP 8.3
expect PHP 5.6 to PHP 8.3
gearman PHP 5.6 to PHP 8.3
gnupg PHP 5.6 to PHP 8.3
grpc PHP 5.6 to PHP 8.3
igbinary PHP 5.6 to PHP 8.3
imagick PHP 5.6 to PHP 8.3
imap PHP 5.6 to PHP 8.3
lua PHP 5.6 to PHP 7.4
mailparse PHP 5.6 to PHP 8.3
mcrypt PHP 5.6 to PHP 8.3
memcache PHP 5.6 to PHP 8.3
memcached PHP 5.6 to PHP 8.3
mongodb PHP 5.6 to PHP 8.3
msgpack PHP 5.6 to PHP 8.3
newrelic PHP 7.4 to PHP 8.1
pcov PHP 7.1 to PHP 8.3
pdo_sqlsrv PHP 7.0 to PHP 8.3
pecl_http PHP 5.6 to PHP 8.3
phalcon3 PHP 5.6 to PHP 7.3
phalcon4 PHP 7.2 to PHP 7.4
phalcon5 PHP 7.4 to PHP 8.1
propro PHP 5.6 to PHP 7.4
protobuf PHP 5.6 to PHP 8.3
psr PHP 5.6 to PHP 8.3
raphf PHP 5.6 to PHP 8.3
rdkafka PHP 5.6 to PHP 8.3
redis PHP 5.6 to PHP 8.3
snmp PHP 5.6 to PHP 8.3
sqlsrv PHP 7.0 to PHP 8.3
ssh2 PHP 5.6 to PHP 8.3
swoole PHP 5.6 to PHP 8.3
uuid PHP 5.6 to PHP 8.3
v8js PHP 7.0 to PHP 8.3
vips PHP 7.0 to PHP 8.3
xdebug PHP 5.6 to PHP 8.3
xdebug2 PHP 7.2 to PHP 7.4
xlswriter PHP 7.0 to PHP 8.3
yaml PHP 5.6 to PHP 8.3
zmq PHP 5.6 to PHP 8.3

OS Support

Operating System Architecture
Linux x86_64
macOS Big Sur x86_64, arm64
macOS Monterey x86_64, arm64
macOS Ventura 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 8.1:
brew tap shivammathur/php
brew install shivammathur/php/[email protected]
brew link --force --overwrite shivammathur/php/[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 8.1:

brew install shivammathur/extensions/[email protected]

Upgrade extensions

  • For example, to upgrade Xdebug on PHP 8.1.
brew upgrade shivammathur/extensions/[email protected]

Restart your webserver

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

  • For Apache (httpd):
brew services restart httpd
  • For Nginx:
brew services restart nginx

Debugging

  • Make sure you ran brew update before installing a PHP extension.

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

Sponsors

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

Mac Stadium Mac Stadium Β Β Β Β Β Β Β Β Β  Scaleway Scaleway

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

Sponsor shivammathur

Related Projects

Dependencies

Extensions

Homebrew

Formulae dependencies

More Repositories

1

setup-php

GitHub action to set up PHP with extensions, php.ini configuration, coverage drivers, and various tools.
TypeScript
2,747
star
2

homebrew-php

🍺 Homebrew tap for PHP 5.6 to 8.4. PHP 8.4 is built nightly.
Ruby
2,283
star
3

countrycity

🌎 Geodata API - Get countries, and cities to plug in drop-downs.
PHP
101
star
4

php-builder

🐘 Build PHP 5.6 and newer
Shell
62
star
5

IPpy

πŸš€ Ping IP addresses and domains in parallel to find the accessible and inaccessible ones.
Python
56
star
6

php-builder-windows

Build PHP 8.0 and above nightly snaps for Windows.
PowerShell
41
star
7

cache-extensions

πŸ“¦ Cache PHP extensions in GitHub Actions
Shell
40
star
8

php5-ubuntu

Scripts to install the end-of-life PHP versions on Ubuntu 22.04, 20.04 and 18.04 amd64
Shell
23
star
9

TwitterScraper

Twitter Scraper - Scrape tweets for a user or a #hashtag.
Python
13
star
10

node-docker

Docker images with Node.js and PHP for CI
Shell
10
star
11

php-extensions-windows

Build PHP extensions for windows
PowerShell
7
star
12

ghsvg

GitHub Sponsors SVG
TypeScript
7
star
13

codementor-mentees

Shivam Mathur's Codementor Mentees
JavaScript
6
star
14

php-ubuntu

Cached packages to install PHP on Ubuntu in GitHub Actions
Shell
6
star
15

php-src-backports

Security backports for EOL versions of PHP.
Roff
6
star
16

icu-intl

Compiled versions of icu4c and intl php extension
Shell
5
star
17

composer-cache

Cache composer phars for setup-php.
Shell
5
star
18

test-setup-php

Testing Setup PHP GitHub Action
5
star
19

spc

setup-php-cli (spc) is a command line utility to run setup-php.
Shell
3
star
20

php5-darwin

Install PHP 5 versions on darwin
Shell
3
star
21

flask-chat-app

Chat app using flask and SocketIO in python.
JavaScript
3
star
22

shivammathur

2
star
23

.github

Default config for my GitHub projects.
2
star
24

init.lua

My nvim config
Lua
1
star
25

pacman

Classic pacman game built in python using pygame
Python
1
star
26

homebrew-openssl-deprecated

Formula for [email protected]
Ruby
1
star
27

homebrew-phalcon

Please use shivammathur/extensions tap instead.
Ruby
1
star
28

php-darwin

1
star
29

Computer-Networks-OMNeT-Lab

Assignments of my computer networks lab
C++
1
star