Composer vs. npm

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Composer
Score 9.0 out of 10
N/A
Composer 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
npm
Score 9.5 out of 10
N/A
npm, Inc in Oakland boasts over 10 million software developers worldwide using their open source software and web registry to discover, share, and reuse packages of code. Additionally, npm’s paid products offer teams and companies ways to organize, share, and secure code, integrate npm with testing and deployment tools, and bring code reuse into the enterprise. The vendor states companies including BBC, Coinbase, eBay, Electronic Arts, Nvidia, and Slack use npm.N/A
Pricing
Composernpm
Editions & Modules
No answers on this topic
No answers on this topic
Offerings
Pricing Offerings
Composernpm
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
Composernpm
Considered Both Products
Composer
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 …
npm

No answer on this topic

Top Cons

No answers on this topic

Best Alternatives
Composernpm
Small Businesses
Salt
Salt
Score 7.8 out of 10
Git
Git
Score 10.0 out of 10
Medium-sized Companies
Salt
Salt
Score 7.8 out of 10
Git
Git
Score 10.0 out of 10
Enterprises
Perforce Helix Core
Perforce Helix Core
Score 6.3 out of 10
Git
Git
Score 10.0 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
Composernpm
Likelihood to Recommend
9.0
(2 ratings)
9.0
(1 ratings)
User Testimonials
Composernpm
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.
Read full review
npm, Inc
[npm]is well suited while we use it to install packages to windows, it is used to start the project from scratch to install dependencies.
Read full review
Pros
Open Source
  • Controlling dependencies
  • Fast dependency resolver
  • Easy to use dependency injection
Read full review
npm, Inc
  • We can easily use it to install packages
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
Read full review
npm, Inc
  • Need to install dependencies for the particular package managers.
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 ...
Read full review
npm, Inc
It is open source and easy to utilize and it is simply worked for me.
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.
Read full review
npm, Inc
  • Yeah it is dependent it cause of without NPM angular doesn't work
Read full review
ScreenShots