承接 sykescottages/licence-check 相关项目开发

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

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

sykescottages/licence-check

最新稳定版本:0.1.6

Composer 安装命令:

composer require sykescottages/licence-check

包简介

Checks all of the dependencies of projects to ensure the license is valid for use

README 文档

README

This is a package which allows checking that all of the dependencies of a project conform to an agreed set of licences.

Guide

To run a basic check with no options install the checker

composer require sykescottages/licence-check

to run

./vendor/bin/licence-check

This will by default check the current working directories composer for valid licences.

To customise the licences accepted pass -l / --licence as a command line option eg

./vendor/bin/licence-check --licence YourLicence

or to pass a file containing valid licences

./vendor/bin/licence-check --licenceFile file.txt

You can ignore certain packages with the -i / --ignoreFile flag to pass a file or --ignore for a single package

NPM

This can also check NPM, you will need to install the licence check (globally to make it easier)

sudo npm install -g license-report

then call the same binary as above with a seperate flag

./vendor/bin/licence-check --type Npm

The flags documented above work in the same way

Running from any directory

To run from any directory you need to provide input on STDIN. This is expected to be JSON for composer and csv for NPM

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固