2017 © Pedro Peláez
 

library bowerphp

An implementation of bower in PHP

image

beelab/bowerphp

An implementation of bower in PHP

  • Monday, May 21, 2018
  • by maurodalatri
  • Repository
  • 25 Watchers
  • 481 Stars
  • 53,971 Installations
  • PHP
  • 14 Dependents
  • 0 Suggesters
  • 42 Forks
  • 22 Open issues
  • 29 Versions
  • 2 % Grown

The README.md

Bowerphp

An implementation of bower in PHP., (*1)

https://bowerphp.github.io/, (*2)

travis build Code Climate Scrutinizer Code Quality insight Join the chat at https://gitter.im/Bee-Lab/bowerphp, (*3)

Installation

$ composer require beelab/bowerphp

Configuration

Currently, you can configure your bower directory in .bowerrc file, just like the original Bower., (*4)

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. Once you created your token, just store it in the BOWERPHP_TOKEN environment variable., (*5)

Status

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

See currently open issues., (*7)

Contributing

All contribution are welcome, just take a look at our issues tracker if you want to start somewhere., (*8)

If you make a PR make sure that it follow the PSR2 standard. To make sure that your code comply with the standard, you can use a git hook with 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., (*9)

Building the phar

You can build the phar by simply running:, (*10)

$ php bin/compile

Or you can use the box command line utility. 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., (*11)

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

The Versions

20/12 2014

v0.2.3-alpha

0.2.3.0-alpha http://bowerphp.org/

An implementation of bower in PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

frontend package dependency

10/12 2014

v0.2.2-alpha

0.2.2.0-alpha http://bowerphp.org/

An implementation of bower in PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

frontend package dependency

07/12 2014

v0.2.1-alpha

0.2.1.0-alpha http://bowerphp.org/

An implementation of bower in PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

frontend package dependency

21/11 2014

v0.2.0-alpha

0.2.0.0-alpha http://bowerphp.org/

An implementation of bower in PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

frontend package dependency

06/06 2014