Get Advice Icon

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

Bower
Bower

3.6K
2.4K
+ 1
927
Composer
Composer

426
222
+ 1
11
Add tool

Bower vs Composer: What are the differences?

Developers describe Bower as "A package manager for the web". Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat. On the other hand, Composer is detailed 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.

Bower belongs to "Front End Package Manager" category of the tech stack, while Composer can be primarily classified under "Package Managers".

"Package management" is the primary reason why developers consider Bower over the competitors, whereas "Must have dependency manager for PHP" was stated as the key factor in picking Composer.

Bower and Composer are both open source tools. It seems that Composer with 20.2K GitHub stars and 5.54K forks on GitHub has more adoption than Bower with 15.2K GitHub stars and 1.97K GitHub forks.

According to the StackShare community, Bower has a broader approval, being mentioned in 803 company stacks & 396 developers stacks; compared to Composer, which is listed in 95 company stacks and 55 developer stacks.

What is Bower?

Bower is a package manager for the web. It offers a generic, unopinionated solution to the problem of front-end package management, while exposing the package dependency model via an API that can be consumed by a more opinionated build stack. There are no system wide dependencies, no dependencies are shared between different apps, and the dependency tree is flat.

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.
Get Advice Icon

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

Why do developers choose Bower?
Why do developers choose Composer?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Bower?
    What companies use Composer?

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

    What tools integrate with Bower?
    What tools integrate with Composer?

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

    What are some alternatives to Bower and Composer?
    npm
    npm is the command-line interface to the npm ecosystem. It is battle-tested, surprisingly flexible, and used by hundreds of thousands of JavaScript developers every day.
    Yarn
    Yarn caches every package it downloads so it never needs to again. It also parallelizes operations to maximize resource utilization so install times are faster than ever.
    Webpack
    A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
    gulp
    Build system automating tasks: minification and copying of all JavaScript files, static images. More capable of watching files to automatically rerun the task when a file changes.
    NuGet
    A free and open-source package manager designed for the Microsoft development platform. It is also distributed as a Visual Studio extension.
    See all alternatives
    Decisions about Bower and Composer
    No stack decisions found
    Interest over time
    Reviews of Bower and Composer
    No reviews found
    How developers use Bower and Composer
    Avatar of Promethean TV
    Promethean TV uses BowerBower

    PrometheanTV utilizes Bower in the Broadcast Center Tool to manage 3rd party front end dependencies including things like Angular, Bootstrap, etc.

    Avatar of Andrew Faulkner
    Andrew Faulkner uses BowerBower

    Bower was used for a small amount of package management. npm was used everywhere but a few edge cases that only worked with Bower.

    Avatar of Kamarool Karim
    Kamarool Karim uses BowerBower

    It easily for me to have this kind of technology. She allow me to manage my front-end package

    Avatar of Reactor Digital
    Reactor Digital uses BowerBower

    To provide any vendor modules used within the frontend build, mainly AngularJS libraries.

    Avatar of Casey Smith
    Casey Smith uses BowerBower

    Package manager for front-end JavaScript dependencies; part of the overall build pipeline.

    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 Bower cost?
    How much does Composer cost?
    Pricing unavailable
    Pricing unavailable
    News about Bower
    More news