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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?