sllh/composer-lint 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

sllh/composer-lint

最新稳定版本:v2.0.0

Composer 安装命令:

composer require sllh/composer-lint

包简介

Extends the composer validate command with extra rules

README 文档

README

composer-lint is a plugin for Composer.

It extends the composer validate command with extra rules.

Latest Stable Version Latest Unstable Version License Dependency Status Reference Status

Total Downloads Monthly Downloads Daily Downloads

Build Status Scrutinizer Code Quality Code Climate Coverage Status SensioLabsInsight

Installation

You can install it either globally (recommended):

composer global require sllh/composer-lint

or locally:

composer require sllh/composer-lint

Usage

That's it! Composer will enable automatically the plugin as soon it's installed.

Just run composer validate command to see the plugin working.

Configuration

You can configure the plugin via the COMPOSER_HOME/config.json file. Here is the default one:

{
    "config": {
        "sllh-composer-lint": {
            "php": true,
            "type": true,
            "minimum-stability": true,
            "version-constraints": true
        },
        "sort-packages": false
    }
}
  • php: Checks if the PHP requirement is set on the require section.
  • type: Check if package type is defined.
  • minimum-stability: Checks if minimum-stability is set. It raises an error if it is, except for project packages.
  • version-constraints: Checks if version constraint formats are valid (e.g. ~2.0 should be ^2.0).
  • sort-packages: Checks if packages are sorted on each section. This option is outside sllh-composer-lint because it's a composer native one.

统计信息

  • 总下载量: 205.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 3
  • 依赖项目数: 8
  • 推荐数: 0

GitHub 信息

  • Stars: 14
  • Watchers: 3
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固