PHPackages                             injitools/bowerphp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. injitools/bowerphp

ActiveLibrary

injitools/bowerphp
==================

An implementation of bower in PHP

v0.4.0(9y ago)0701MITPHPPHP &gt;=5.3.6

Since Jan 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/injitools/bowerphp)[ Packagist](https://packagist.org/packages/injitools/bowerphp)[ Docs](http://bowerphp.org/)[ RSS](/packages/injitools-bowerphp/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (26)Used By (0)

Bowerphp
========

[](#bowerphp)

An implementation of [bower](http://bower.io) in PHP.

[![travis build](https://camo.githubusercontent.com/1992280ab3da6dbc493261d5fba381f1b87241646d73012159ff3437dd28aabe/68747470733a2f2f6170692e7472617669732d63692e6f72672f4265652d4c61622f626f7765727068702e706e67)](https://travis-ci.org/Bee-Lab/bowerphp)[![Code Climate](https://camo.githubusercontent.com/cece800570a9cea5f0ab8023fc13e996aec2e61266f705d4d3e9289c4fdae08d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f4265652d4c61622f626f7765727068702f6261646765732f6770612e737667)](https://codeclimate.com/github/Bee-Lab/bowerphp)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/33cdeb4a8ac9efd4e10c9c38726f80560ca409b11c6249793716b42a521be3d6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4265652d4c61622f626f7765727068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Bee-Lab/bowerphp/?branch=master)[![insight](https://camo.githubusercontent.com/b45309ff1bfc67f479e157e5f0ce24dc246638a05a7182b4fa6cadeabccd466f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f64316662616361372d306536382d343738322d393739622d3233373261393537386332642f6d696e692e706e67)](https://insight.sensiolabs.com/projects/d1fbaca7-0e68-4782-979b-2372a9578c2d) [![Join the chat at https://gitter.im/Bee-Lab/bowerphp](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/Bee-Lab/bowerphp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

Installation
------------

[](#installation)

```
$ composer require injitools/bowerphp
```

Configuration
-------------

[](#configuration)

Currently, you can configure your bower directory in `.bowerrc` file, just like the original Bower.

If you need many dependencies, you'll likely hit the Github API limit (currently 60 requests per hour). To increase your limit to 5000 requests per hour, you can use a token. See [Github help](https://help.github.com/articles/creating-an-access-token-for-command-line-use/). Once you created your token, just store it in the `BOWERPHP_TOKEN` environment variable.

Status
------

[](#status)

This project is in stable version (no beta suffix), but still in `0` major version (BC not assured).

See currently open [issues](https://github.com/Bee-Lab/bowerphp/issues).

Contributing
------------

[](#contributing)

All contribution are welcome, just take a look at our [issues](https://github.com/Bee-Lab/bowerphp/issues) tracker if you want to start somewhere.

If you make a PR make sure that it follow the [PSR2 standard](http://www.php-fig.org/psr/psr-2/). To make sure that your code comply with the standard, you can use a git hook with [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer). There is one here that you only need to copy to your .git/hooks folder under the name of pre-commit and you are set.

Building the phar
-----------------

[](#building-the-phar)

You can build the phar by simply running:

```
$ php bin/compile
```

Or you can use the [box command line utility](https://github.com/box-project/box2). If you add the following content in a `box.json` file, you only just need to run `box build` command to get a phar. Don't forget to give execution permission to your phar, using `chmod +x bowerphp.phar`.

```
{
    "directories": ["src"],
    "files": ["LICENSE"],
    "finder": [
        {
            "name": "*.php",
            "exclude": ["Tests", "phpunit", "mockery"],
            "in": "vendor"
        }
    ],
    "main": "bin/bowerphp",
    "output": "bowerphp.phar",
    "stub": true
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~91 days

Total

23

Last Release

3643d ago

PHP version history (2 changes)v0.1-alphaPHP &gt;=5.3.2

v0.2.4-alphaPHP &gt;=5.3.6

### Community

---

Top Contributors

[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (197 commits)")[![maurodalatri](https://avatars.githubusercontent.com/u/3215471?v=4)](https://github.com/maurodalatri "maurodalatri (28 commits)")[![mikeSimonson](https://avatars.githubusercontent.com/u/907613?v=4)](https://github.com/mikeSimonson "mikeSimonson (15 commits)")[![piotrooo](https://avatars.githubusercontent.com/u/2005054?v=4)](https://github.com/piotrooo "piotrooo (4 commits)")[![injitools](https://avatars.githubusercontent.com/u/9765406?v=4)](https://github.com/injitools "injitools (4 commits)")[![maxnuf](https://avatars.githubusercontent.com/u/1273539?v=4)](https://github.com/maxnuf "maxnuf (3 commits)")[![lexxorlov](https://avatars.githubusercontent.com/u/7910574?v=4)](https://github.com/lexxorlov "lexxorlov (2 commits)")[![varoot](https://avatars.githubusercontent.com/u/1557736?v=4)](https://github.com/varoot "varoot (1 commits)")[![bauerj](https://avatars.githubusercontent.com/u/598790?v=4)](https://github.com/bauerj "bauerj (1 commits)")[![bayne](https://avatars.githubusercontent.com/u/712014?v=4)](https://github.com/bayne "bayne (1 commits)")[![lordvlad](https://avatars.githubusercontent.com/u/1217769?v=4)](https://github.com/lordvlad "lordvlad (1 commits)")[![MAXakaWIZARD](https://avatars.githubusercontent.com/u/1138453?v=4)](https://github.com/MAXakaWIZARD "MAXakaWIZARD (1 commits)")[![Shine-neko](https://avatars.githubusercontent.com/u/884441?v=4)](https://github.com/Shine-neko "Shine-neko (1 commits)")[![AntonTyutin](https://avatars.githubusercontent.com/u/548575?v=4)](https://github.com/AntonTyutin "AntonTyutin (1 commits)")

### Embed Badge

![Health badge](/badges/injitools-bowerphp/health.svg)

```
[![Health](https://phpackages.com/badges/injitools-bowerphp/health.svg)](https://phpackages.com/packages/injitools-bowerphp)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
