Get Advice Icon

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

Composer
Composer

489
262
+ 1
11
Packagist
Packagist

12
4
+ 1
0
Add tool

Composer vs Packagist: 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, Packagist is detailed as "A default Composer package repository". It is the main Composer repository. It aggregates public PHP packages installable with Composer. It lets you find packages and lets Composer know where to get the code from. You can use Composer to manage your project or libraries' dependencies.

Composer and Packagist are primarily classified as "Package Managers" and "Hosted Package Repository" tools respectively.

Composer and Packagist are both open source tools. Composer with 20.5K GitHub stars and 5.56K forks on GitHub appears to be more popular than Packagist with 1.29K GitHub stars and 392 GitHub forks.

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 Packagist?

It is the main Composer repository. It aggregates public PHP packages installable with Composer. It lets you find packages and lets Composer know where to get the code from. You can use Composer to manage your project or libraries' dependencies
Get Advice Icon

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

Why do developers choose Composer?
Why do developers choose Packagist?
    Be the first to leave a pro
      Be the first to leave a con
        Be the first to leave a con
        What companies use Composer?
        What companies use Packagist?

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

        What tools integrate with Composer?
        What tools integrate with Packagist?

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

        What are some alternatives to Composer and Packagist?
        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
        Decisions about Composer and Packagist
        No stack decisions found
        Interest over time
        Reviews of Composer and Packagist
        No reviews found
        How developers use Composer and Packagist
        Avatar of BrightMachine
        BrightMachine uses PackagistPackagist

        Managing the releases of our open source contributions. Also good for finding new packages.

        Avatar of Björn Pfoster
        Björn Pfoster uses ComposerComposer

        Composer is used for the dependency management

        Avatar of Unleashed Technologies
        Unleashed Technologies uses ComposerComposer

        PHP dependency management

        How much does Composer cost?
        How much does Packagist cost?
        Pricing unavailable
        Pricing unavailable
        News about Packagist
        More news