Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 21, 2024 via composer

phar-io/manifest 2.0.3

Component for reading phar.io manifest information from a PHP Archive (PHAR)
Package summary
Share
0
issues
1
license
2
BSD-3-Clause
Package created
24 Nov 2016
Version published
20 Jul 2021
Maintainers
2
Total deps
2
Direct deps
1
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
phar-io/manifest@2.0.3
phar-io/version@3.2.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of phar-io/manifest 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
phar-io/version3.2.118.12 kBBSD-3-Clause
prod

Visualizations

Frequently Asked Questions

What does phar-io/manifest do?

The phar-io/manifest package is a PHP Archive (PHAR) reader specifically designed for extracting manifest information from PHAR files. It aids developers in interpreting and manipulating the manifest details that accompany these archives. The package is a key component of the PHP ecosystem, with high-quality ratings from services such as Scrutinizer and SensioLabsInsight, indicating its robustness and reliability.

How do you use phar-io/manifest?

Utilizing the phar-io/manifest PHP package involves incorporating it as a dependency within your project. This can either be achieved as a standard inclusion, or as a development dependency if the toolkit is solely for testing purposes. This is accomplished using the Composer dependency manager with the following commands:

composer require phar-io/manifest

For a development dependency, use:

composer require --dev phar-io/manifest

Following successful installation, the package can be utilized within your PHP codes. Here's an example of how you can read and serialize a manifest file:

use PharIo\Manifest\ManifestLoader;
use PharIo\Manifest\ManifestSerializer;

$manifest = ManifestLoader::fromFile('manifest.xml');
var_dump($manifest);
echo (new ManifestSerializer)->serializeToString($manifest);

Where are the phar-io/manifest docs?

Documentation for the phar-io/manifest package is currently not offered on the GitHub page itself. A good starting point for understanding its use and functionalities would be the example usage provided in the readme file on the GitHub repository. For additional documentation, developers are advised to explore the source code or extensive PHP communities. The absence of formal documentation emphasizes the importance of hands-on practice and community interaction when using the phar-io/manifest package.