phar-utils

PHAR file format utilities, for when PHP phars you up.

  • 所有者: Seldaek/phar-utils
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

PHAR Utils

PHAR file format utilities, for when PHP phars you up.

Installation

composer require seld/phar-utils

API

Seld\PharUtils\Timestamps

  • __construct($pharFile)

    Load a phar file in memory.

  • updateTimestamps($timestamp = null)

    Updates each file's unix timestamps in the PHAR so the PHAR signature
    can be produced in a reproducible manner.

  • save($path, $signatureAlgo = '')

    Saves the updated phar file with an updated signature.
    Algo must be one of Phar::MD5, Phar::SHA1, Phar::SHA256
    or Phar::SHA512

Seld\PharUtils\Linter

  • Linter::lint($pharFile)

    Lints all php files inside a given phar with the current PHP version.

Requirements

PHP 5.3 and above

License

PHAR Utils is licensed under the MIT License - see the LICENSE file for details

主要指标

概览
名称与所有者Seldaek/phar-utils
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-05-01 12:34:13
推送于2024-07-05 06:51:05
最后一次提交
发布数8
最新版本名称1.2.1 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数880
关注者数2
派生数3
提交数17
已启用问题?
问题数4
打开的问题数1
拉请求数5
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?