bowerphp

A PHP implementation of bower :bird:

Github星跟踪图

Bowerphp

An implementation of bower in PHP.

https://bowerphp.github.io/

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

Installation

$ composer require beelab/bowerphp

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

Status

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

See currently open issues.

Contributing

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

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.

Building the phar

You can build the phar by simply running:

$ 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.

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

主要指标

概览
名称与所有者Bee-Lab/bowerphp
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2013-11-29 16:51:15
推送于2019-01-11 17:13:45
最后一次提交2019-01-11 18:13:32
发布数28
最新版本名称v0.5.3 (发布于 )
第一版名称v0.1-alpha (发布于 2014-01-20 13:52:23)
用户参与
星数465
关注者数17
派生数38
提交数316
已启用问题?
问题数107
打开的问题数0
拉请求数44
打开的拉请求数0
关闭的拉请求数19
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?