Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 17, 2024 via composer

pear/archive_tar 1.4.14

Tar file management class with compression support (gzip, bzip2, lzma2)
Package summary
Share
0
issues
1
license
1
BSD-3-Clause
Package created
23 Jan 2013
Version published
20 Jul 2021
Maintainers
3
Total deps
1
Direct deps
0
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
1 Packages, Including:
pear/archive_tar@1.4.14
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

0
All Dependencies CSV
β“˜ This is a list of pear/archive_tar 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does pear/archive_tar do?

The pear/archive_tar is a PHP package that manages tar files. It offers the capability to create, extract, list, and add to tar files. What makes this package particularly distinct is its compatibility with different types of compression such as gzip, bzip2, and lzma2. The gzip support functionality is provided if PHP has the zlib extension built-in or loaded. Similarly, Bz2 and Lzma2 compression are also supported but require the bz2 and xz extensions respectively.

How do you use pear/archive_tar?

To make use of the pear/archive_tar package, first, you need to install it. You can install it from scratch by using $ pear install package.xml or upgrade an existing installation using $ pear upgrade -f package.xml. Once installed, you can create, list, extract, or add tar the files. Although the readme doesn't provide explicit examples, a typical usage might look like this:

require_once 'Archive/Tar.php';

// Create a new tar object
$tar_object = new Archive_Tar('archive.tar');

// Add a file to the tar
$tar_object->add('test.txt');

// Extract the tar to a specific directory
$tar_object->extract('./my-directory');

Please note that, this is a hypothetical example and might not represent the actual usage.

Where are the pear/archive_tar docs?

The documentation for pear/archive_tar is hosted at PEAR PHP. You can find detailed explanations and instructions on how to use the various features offered by this package. The source code is also available on GitHub should you run into any problems or need to understand how the package works at a more granular level. Open issues can be reported via the PEAR bug tracker.