library phar-utils
PHAR file format utilities, for when PHP phars you up
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
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
Requirements
PHP 5.3 and above, (*11)
License
PHAR Utils is licensed under the MIT License - see the LICENSE file for details, (*12)
dev-master
9999999-dev
PHAR file format utilities, for when PHP phars you up
Sources
Download
MIT
The Requires
phra
1.0.1
1.0.1.0
PHAR file format utilities, for when PHP phars you up
Sources
Download
MIT
The Requires
phra
1.0.0
1.0.0.0
PHAR file format utilities, for when PHP phars you up
Sources
Download
MIT
The Requires
phra