wenpai.org/wp-content/mu-plugins/vendor/composer/metadata-minifier
2024-06-24 19:25:08 +08:00
..
src refactor: 重构第三方包加载 2024-06-24 19:25:08 +08:00
composer.json refactor: 重构第三方包加载 2024-06-24 19:25:08 +08:00
LICENSE refactor: 重构第三方包加载 2024-06-24 19:25:08 +08:00
phpstan.neon.dist refactor: 重构第三方包加载 2024-06-24 19:25:08 +08:00
README.md refactor: 重构第三方包加载 2024-06-24 19:25:08 +08:00

composer/metadata-minifier

Small utility library that handles metadata minification and expansion.

This is used by Composer's 2.x repository metadata protocol.

Installation

Install the latest version with:

$ composer require composer/metadata-minifier

Requirements

  • PHP 5.3.2 is required but using the latest version of PHP is highly recommended.

Basic usage

Composer\MetadataMinifier\MetadataMinifier

  • MetadataMinifier::expand(): Expands an array of minified versions back to their original format
  • MetadataMinifier::minify(): Minifies an array of versions into a set of version diffs

License

composer/metadata-minifier is licensed under the MIT License, see the LICENSE file for details.