shivammathur/homebrew-extensions
Description and use
**Brief Summary (2‑3 sentences)** shivammathur/homebrew-extensions is a Homebrew tap that packages a wide range of PHP extensions, letting macOS and Linux developers install, upgrade, and manage them with a single brew command. It streamlines the setup of PHP environments for projects that need extra functionality—such as database drivers, caching, or image processing—without manually compiling extensions from source. The tap is actively maintained (last update 2026‑05‑12) and has attracted a solid community (≈ 800 ★, 48 forks).
**Value**
- **Speed & consistency** – Installing extensions via Homebrew eliminates the “compile‑and‑install” steps that are error‑prone and time‑consuming, ensuring the same version across all team members and CI agents.
- **Broad coverage** – The tap includes many commonly‑used extensions (e.g.,
pdo_mysql,redis,imagick), so teams can quickly add the capabilities they need for persistence, caching, or data transformation. - **Single source of truth** – All extensions are version‑pinned in the Homebrew formulae, making it easy to lock down a reproducible environment for development, testing, and staging.
**Practical Adoption Path**
- **Proof‑of‑concept** – Add the tap to a fresh development machine (
brew tap shivammathur/homebrew-extensions) and install a single extension needed for a prototype (brew install shivammathur/extensions/redis). Verify that the extension loads in PHP (php -m). - **Documentation audit** – Review the tap’s README and formulae for the specific extensions you plan to use; confirm any required system libraries (e.g.,
libyaml,openssl) are also satisfied. - **CI integration** – Add the tap installation step to your CI pipeline (GitHub Actions, GitLab CI, etc.) and lock the Homebrew version to avoid unexpected upgrades.
- **Gradual rollout** – Replace manually‑compiled extensions in existing projects with the Homebrew equivalents, starting with low‑risk services (e.g., internal tools) before moving to production‑critical services.
**Production Readiness**
- **Maturity**: Medium. The project is actively updated and widely starred, indicating community trust, but it is primarily aimed at developer convenience rather than enterprise‑grade lifecycle management.
- **Risks**: The integration path isn’t documented in depth; you’ll need to verify that the tap’s formulae match the exact PHP version and OS architecture you run in production. Dependency drift (e.g., Homebrew core updates) can introduce breaking changes, so pinning versions is advisable.
- **Recommendation**: Suitable for prototypes, internal services, and CI environments where rapid setup outweighs the need for formal support. For mission‑critical production workloads, perform a thorough dependency audit, lock formula versions, and consider a fallback plan (e.g., building extensions from source) before fully committing.
Use in a workflow
shivammathur/homebrew-extensions helps teams persist, query, and move data with less custom plumbing.
- manage persistence
- speed up data access
- prototype database-backed apps
Limitations and review notes
Medium: useful for prototypes or internal workflows, with dependency and maintenance checks before production.
- Source: github
- Language: Ruby
- Record date: 2026-09-05T17:32:06.180Z