承接 youwe/composer-unclog-plugin 相关项目开发

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

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

youwe/composer-unclog-plugin

Composer 安装命令:

composer require youwe/composer-unclog-plugin

包简介

Shows warnings if you can optimise your composer files even further.

README 文档

README

This package contains a plugin for composer. The plugin detects optimisations for the composer.json file of a project. The plugin hooks in on existing composer commands.

Installation

The package can be installed with:

composer require youwe/composer-unclog-plugin -dev

Configuration

The plugin can be configured to allow more repository types. This is possible by adding a add-allowed-repositories array node to the config node of the project. The configuration will look like:

...
    "config": {
        "add-allowed-repositories": [
            "git"
        ],
        "sort-packages": true
    },
...

The repository types are then added to the array of allowed repository types in the plugin.

Usage

By running one of the following commands, the plugin will perform additional checks for the composer.json file.

composer validate
composer install
composer update

Current checks

  • Check if all repositories are of type composer.
  • Check if all packages have version numbers instead of dev- packages.

Future ideas

  • Add commands to suggestions to fix the problem (composer optimize --repositories).
  • Detect if the package is available on a repository and do a suggestion.
  • Detect which packages are being used from a non composer repository and check if it can be installed through another configured repository.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2022-02-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固