arueckauer/package-info 问题修复 & 功能扩展

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

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

arueckauer/package-info

Composer 安装命令:

composer create-project arueckauer/package-info

包简介

Verifying composer packages requirements of GitHub organizations

README 文档

README

Verifying requirements of composer packages of a GitHub organization

Installation

Clone the repository and install dependencies.

git clone git@github.com:arueckauer/package-info.git
cd package-info
composer i

Configuration

The application comes with sample configurations for various PHP framework organizations. Copy one of the config\autoload\local-*.dist files to config\autoload\local.php . Or alternatively create your own configuration based on any of the sample configurations.

Place your personal access token in github_api_token and provide a cache_file_path.

Configuration options

  • github_api_token Your personal access tokens (see GitHub / Settings / Developer settings)
  • organizations An array of organization names whose repositories will be checked.
  • ignore_repositories An array of package names, that will be ignored and thus not checked.
  • ignore_branches An array of branch names, that will be ignored and thus not checked.
  • cache_file_path Location of the cache path.

Commands

There are three commands available.

Build cache

This will be the first step. To not repeatedly fetch all information from GitHub, package information is cached. To build the cache, execute the following command. Depending on the size of the organization, this may take a while.

php bin/console cache:build

Show information for a single package

This command shows information such as available heads (branches, releases and pull requests) for a single package.

php bin/console get <package-name>

Check requirements

The check command performs the actual check against given requirements.

Examples:

To check which repositories are supporting PHP 8.5, run the following command.

php bin/console check -r php:^8.5

The results of the previous command include branches and pull requests. To check only releases, run the following command.

php bin/console check -r php:^8.5 -t release

To include only repositories of a specific organization, run the following command.

php bin/console check -r php:^8.5 --vendor mezzio

For a complete list of options, execute the following command.

php bin/console help check

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2021-09-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固