TrustRadius: an HG Insights company

Save this comparison

Save this comparison

Add Product

Recommended Comparisons

    Overview
    ProductRatingMost Used ByProduct SummaryStarting Price

    Composer

    Score6 out of 10
    N/AComposer is a free and open source dependency manager for PHP. It allows the user to declare the libraries a project depends on and it will manage (install/update) them. it manages packages on a per-project basis, installing them in a directory (e.g. vendor) inside a project and by default, it does not install anything globally. Thus, it is a dependency manager.N/A

    Yarn

    Score9.7 out of 10
    N/AYarn is a package manager for JavaScript designed to provide secure dependency management, with project manager features such as offering a workspace that allows users to split projects into sub-components within a single repository. Developed by personnel at Facebook, Yarn is free and open source and associated to no company.N/A
    Pricing
    ComposerYarn
    Editions & Modules
    No answers on this topic
    No answers on this topic
    Offerings
    Pricing Offerings
    ComposerYarn
    Free Trial
    NoNo
    Free/Freemium Version
    YesNo
    Premium Consulting/Integration Services
    NoNo
    Entry-level Setup FeeNo setup feeNo setup fee
    Additional Details
    More Pricing Information
    Community Pulse
    ComposerYarn
    Considered Both Products
    Open Source
    Chose Composer
    If you're familiar with npm or Yarn, you'll feel right at home with composer. The work in pretty much the same way. You can use a composer.json file in your repo to reference specific version of public community modules, and enterprise internal ones. You can also hook some …
    Incentivized
    Open Source
    Chose Yarn
    Compared to npm, Yarn is a clear winner here. npm does not look to be getting any improvements recently. And it's much much slower to run when installing project dependencies. This has a clear impact on the developer productivity but also makes deployments slower. So Yarn is …
    Incentivized
    Key User Insights
    Would buy again
    No answers on this topic
    No answers on this topic
    Delivers good value for the price
    No answers on this topic
    No answers on this topic
    Happy with the feature set
    No answers on this topic
    No answers on this topic
    Lived up to sales and marketing promises
    No answers on this topic
    No answers on this topic
    Implementation went as expected
    No answers on this topic
    No answers on this topic
    Best Alternatives
    ComposerYarn
    Small Businesses
    Docker
    Score8.9 out of 10
    Docker
    Score8.9 out of 10
    Medium-sized Companies
    Docker
    Score8.9 out of 10
    Docker
    Score8.9 out of 10
    Enterprises
    Docker
    Score8.9 out of 10
    Docker
    Score8.9 out of 10
    All AlternativesView all alternativesView all alternatives
    User Ratings
    ComposerYarn
    Likelihood to Recommend
    9.0
    (2 ratings)
    9.0
    (1 ratings)
    User Testimonials
    ComposerYarn
    Likelihood to Recommend
    Open Source
    I do highly recommend it whenever you have some PHP projects, especially if you need to have reusable modules that you want to share across teams. With a good branching an tagging strategy, you can go a long way in making your developers' life easier. They will only need to work on the modules that are of interest of them, and not have to touch the whole codebase.
    Also, it's quite necessary if you are planning to use community PHP modules, as the vast majority of them is distributed, and versionned via packagist.org, and thus via composer.
    Incentivized
    Read full review
    Open Source
    There is really no real reason why not to use Yarn today. It's much faster than npm, and you will need a dependency management system anyway. The only thing that might be missing is the fact that it doesn't come natively with NodeJS, and you have to install it yourself. I'd like to see the NodeJS ecosystem include Yarn by default.
    Incentivized
    Read full review
    Pros
    Open Source
    • Controlling dependencies
    • Fast dependency resolver
    • Easy to use dependency injection
    Incentivized
    Read full review
    Open Source
    • Package management
    • Speed of download compared to npm
    • Moduel version control
    Incentivized
    Read full review
    Cons
    Open Source
    • Sometimes a bit slow, but v2 made a lot of improvements on that
    • If everything is modular, setting up a local dev environment is a bit trickier than having everything in the same repo
    • Might be hard to adopt with some frameworks which have not fully embraced it, like Wordpress
    Incentivized
    Read full review
    Open Source
    • Rarely, some server connection error appear, while npm works alright.
    • Sometimes, deleting the whole vendor directory is the best solution to solve weird issues.
    • You still might need npm to install Yarn.
    Incentivized
    Read full review
    Alternatives Considered
    Open Source
    If you're familiar with npm or Yarn, you'll feel right at home with composer. The work in pretty much the same way. You can use a composer.json file in your repo to reference specific version of public community modules, and enterprise internal ones. You can also hook some scripts that you would want to execute, like for testing, building your code ...
    Incentivized
    Read full review
    Open Source
    Compared to npm, Yarn is a clear winner here. npm does not look to be getting any improvements recently. And it's much much slower to run when installing project dependencies. This has a clear impact on the developer productivity but also makes deployments slower. So Yarn is still a much superior choice.
    Incentivized
    Read full review
    Return on Investment
    Open Source
    • Composer only has had positive impacts in our business. It saves a lot of time and resource in order to develop a software.
    Incentivized
    Read full review
    Open Source
    • Deployments happen much faster.
    • Building and testing our apps is much more streamlined and efficient.
    • Makes it easier to write reusable code.
    Incentivized
    Read full review
    ScreenShots