Composer vs. npm

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Composer
Score 6.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 10.0 out of 10
N/A
npm is an open source web registry used to discover, share, and reuse packages of code. Commercial plans offer additional features.
$0
for unlimited public packages
Pricing
Composernpm
Editions & Modules
No answers on this topic
Free
$0
for unlimited public packages
Pro
$7
per month
Team
$7
per month per user
Offerings
Pricing Offerings
Composernpm
Free Trial
NoNo
Free/Freemium Version
YesYes
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
Best Alternatives
Composernpm
Small Businesses
Salt
Salt
Score 6.2 out of 10
Git
Git
Score 10.0 out of 10
Medium-sized Companies
Salt
Salt
Score 6.2 out of 10
Git
Git
Score 10.0 out of 10
Enterprises
Perforce P4
Perforce P4
Score 7.6 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
(0 ratings)
9.0
(0 ratings)
User Testimonials
Composernpm
Likelihood to Recommend
It can/must be used for any size of software project. Not only provides the best way to control depencies, but also has a strong worldwide community of developers.
Read full review
[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
  • Controlling dependencies
  • Fast dependency resolver
  • Easy to use dependency injection
Read full review
  • We can easily use it to install packages
Read full review
Cons
  • 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
  • Need to install dependencies for the particular package managers.
Read full review
Alternatives Considered
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
It is open source and easy to utilize and it is simply worked for me.
Read full review
Return on Investment
  • Helped us reduce the TTM of our ecommerce factory by about 40% since we adopted it
  • Code re-usability became the norm, and thus much shorter development cycles
  • New websites go live much faster, and thus cost way less money to make when reusing composer modules (SSO, CRM integration, modules to call Internal APIs ...)
Read full review
  • Yeah it is dependent it cause of without NPM angular doesn't work
Read full review
ScreenShots