定制 chromatic/php-gd-config-check 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

chromatic/php-gd-config-check

最新稳定版本:v1.1.0

Composer 安装命令:

composer require chromatic/php-gd-config-check

包简介

Composer plugin to check for the presence and status of specified formats for the PHP GD library.

README 文档

README

Tests and Code Analysis

While it is possible to check for the presence of the GD plugin via composer require ext-gd, this does not ensure that specific format support is enabled. This Composer plugin allows you to specify a set of required formats for GD and will verify that they are enabled after composer install has run.

If these formats are not enabled, Composer will output the issue on the command line.

Configuration

This plugin ships with a default set of required formats that it checks for.

  • FreeType
  • JPEG
  • PNG
  • WebP

To override these defaults, include configuration in your composer.json file:

"extra": {
  "php-gd-config-check": {
      "required-formats": [
          "JPEG Support",
          "PNG Support"
      ]
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-13