承接 ccmbenchmark/composer-helper 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ccmbenchmark/composer-helper

最新稳定版本:1.0.0

Composer 安装命令:

composer require ccmbenchmark/composer-helper

包简介

That tool allows you to check dependencies and versions across all your project.

README 文档

README

The main purpose of this project is to help you to handle your composer usage.

It can be used on a per-project basis, allowing you to check one project from command line. It can also be used to handle multiple projects and see results from a simple web interface.

Screenshots

Web view
Web view

Cli usage
Cli usage

Usage

Per-project

In a per-project usage, you just need to checkout this repo where you want and, then, launch this command line :

./bin/composer_helper check /var/www/myproject --no-export -s http://mysatisproxy.com

This will take any folders under /var/www, which have a composer.json file and apply rules.

Global usage

The global usage have 2 possibilities. You can just use the previous command line and give it all the folders you wanna check. Or you can export results in a more convenient way, with a little web app. This is how to do the last option.

  1. Checkout this project in a path your webserver can use (i.e: /var/www/composer_helper).
  2. Make sure both your user and your webserver can edit the "health.json" file.
  3. Run this command : `./bin/composer_helper check /var/www/* -s http://mysatisproxy.com --quiet`
  4. Go to http://localhost/composer_helper/web/ (or whatever your host is) and see results.

To go further, you'll obviously wanna create a cronjob and a vhost. Feel free to do so, it'll be easier to work with that tool.

Rules applied

Proxy

In this project we assume you have a satis proxy configured. Satis helps you to maintain private projects and be able to deploy your app when github or bitbucket are offline.

So one of the rule checks that every projects you use is in your satis proxy with the correct version.

You can also provide an internal vendor option (i.e: ccmbenchmark). When doing so, it'll check that for all packages from this particular vendor, you use the very last version. It will help you to keep hidden technical debt low.

Lock file

One of the rule checks that your lock file is up-to-date.

Stability

This project checks that you use only stable packages, as recommended in a production environment.

Validate

One of the rule just does a "composer validate" over every project to be sure there is no errors.

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-11-10