Need advice about which tool to choose?Ask the StackShare community!

Composer

755
407
+ 1
13
Homebrew

397
337
+ 1
1
Add tool

Composer vs Homebrew: What are the differences?

Developers describe Composer as "Dependency Manager for PHP". Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. On the other hand, Homebrew is detailed as "The Missing Package Manager for macOS". Homebrew installs the stuff you need that Apple didn’t. Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

Composer and Homebrew can be categorized as "Package Managers" tools.

Composer and Homebrew are both open source tools. Composer with 20.2K GitHub stars and 5.54K forks on GitHub appears to be more popular than Homebrew with 18.2K GitHub stars and 4.08K GitHub forks.

Walls.io, Zumba, and Infoshare are some of the popular companies that use Composer, whereas Homebrew is used by Broadly, s21g Inc., and Matchitude. Composer has a broader approval, being mentioned in 95 company stacks & 55 developers stacks; compared to Homebrew, which is listed in 6 company stacks and 25 developer stacks.

Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Composer
Pros of Homebrew
  • 7
    Must have dependency manager for PHP
  • 3
    Centralized autoload.php
  • 3
    Large number of libraries
  • 1
    Clean, neat, powerful, fast and furious

Sign up to add or upvote prosMake informed product decisions

Sign up to add or upvote consMake informed product decisions

What is Composer?

It is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

What is Homebrew?

Homebrew installs the stuff you need that Apple didn’t. Homebrew installs packages to their own directory and then symlinks their files into /usr/local.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Composer?
What companies use Homebrew?
See which teams inside your own company are using Composer or Homebrew.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Composer?
What tools integrate with Homebrew?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Composer and Homebrew?
Docker Compose
With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
Kubernetes
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
Docker Swarm
Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.
Elementor
Create beautiful websites using a simple, intuitive drag and drop Interface.It offers pixel perfect design, yet produces 100% clean code. Take your design vision and turn it into a stunning custom-made website. It's fast and easy.
See all alternatives
How developers use Composer and Homebrew
Björn Pfoster uses
Composer

Composer is used for the dependency management

Unleashed Technologies uses
Composer

PHP dependency management