2017 © Pedro Peláez
 

library phar-utils

PHAR file format utilities, for when PHP phars you up

image

seld/phar-utils

PHAR file format utilities, for when PHP phars you up

  • Tuesday, October 13, 2015
  • by Seldaek
  • Repository
  • 1 Watchers
  • 153 Stars
  • 6,215,198 Installations
  • PHP
  • 21 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 14 % Grown

The README.md

PHAR Utils

PHAR file format utilities, for when PHP phars you up., (*1)

Installation

composer require seld/phar-utils, (*2)

API

Seld\PharUtils\Timestamps

  • __construct($pharFile), (*3)

    Load a phar file in memory., (*4)

  • updateTimestamps($timestamp = null), (*5)

    Updates each file's unix timestamps in the PHAR so the PHAR signature can be produced in a reproducible manner., (*6)

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

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

Seld\PharUtils\Linter

  • Linter::lint($pharFile), (*9)

    Lints all php files inside a given phar with the current PHP version., (*10)

Requirements

PHP 5.3 and above, (*11)

License

PHAR Utils is licensed under the MIT License - see the LICENSE file for details, (*12)

The Versions

13/10 2015

dev-master

9999999-dev

PHAR file format utilities, for when PHP phars you up

  Sources   Download

MIT

The Requires

  • php >=5.3

 

phra

13/10 2015

1.0.1

1.0.1.0

PHAR file format utilities, for when PHP phars you up

  Sources   Download

MIT

The Requires

  • php >=5.3

 

phra

01/05 2015

1.0.0

1.0.0.0

PHAR file format utilities, for when PHP phars you up

  Sources   Download

MIT

The Requires

  • php >=5.3

 

phra