efabrica/php-extensions-finder 问题修复 & 功能扩展

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

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

efabrica/php-extensions-finder

最新稳定版本:0.9.0

Composer 安装命令:

composer require efabrica/php-extensions-finder

包简介

Finds PHP extension required by code, can be used in CI

README 文档

README

This library helps to find PHP extension required by your code, it can be used in CI tools.

Installation

PHP extension finder requires PHP 7.1.0 or newer. You can install it via Composer. This project is not meant to be run as a dependency, so install it as project:

mkdir -p ~/tests/php-extensions-finder
composer require efabrica/php-extensions-finder

or globally:

composer global require efabrica/php-extensions-finder

Usage

~/tests/php-extensions-finder/vendor/bin/php-extensions-finder check [--composer COMPOSER] [--] <dirs>...

or

php-extensions-finder check [--composer COMPOSER] [--] <dirs>...

if it is installed globally

For more information, run with option --help

The result looks like:

Please, add these lines to your composer.json:
==============================================

{
    "require": {
        "ext-json": "*"
    }
}

With option -vvv output will be extended with missing extensions usage:

Missing extensions usage:
=========================

ext-json
--------
src/Command/MyCommand.php:35 json_decode
src/Command/MyCommand.php:70 json_encode
src/Command/MyCommand.php:70 JSON_PRETTY_PRINT

Please, add these lines to your composer.json:
==============================================

{
    "require": {
        "ext-json": "*"
    }
}

Return code is count of missing extensions, so you can use it in CI tools.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2018-12-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固