Download the PHP package indy2kro/php-iso without Composer

On this page you can find all versions of the php package indy2kro/php-iso. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-iso

PHP ISO Library

codecov Tests

PHP Library used to read metadata and extract information from ISO files based on php-iso-file

This library follows the ISO 9660 / ECMA-119 standard.

See SECURITY.md to report a vulnerability (the library parses untrusted images).

Basic concepts

Features

Known limitations

Installation

This class can easily be installed via Composer:
composer require indy2kro/php-iso

Requires PHP 8.3 or newer and nesbot/carbon.

CLI tool

This tool also provides a CLI tool that can be used to view information about ISO files - bin\isotool:

Sample usage (isotool -f fixtures/1mb.iso --files, without --files the lists of files are left out):

Other examples:

Usage

Walking the files of an ISO (Joliet names are used when present):

getFileSystem() or getPreferredVolume()? getPreferredVolume() returns the Joliet volume (else the primary one), it is only about ISO 9660 and returns null for UDF only images. getFileSystem() returns a FileSystem that also covers UDF: the preferred volume, or the UDF file system for UDF only images and for bridge images (e.g. Windows install media) whose ISO 9660 tree is only a stub. Prefer getFileSystem() unless you need a Volume (path table, descriptor fields).

Looking up and reading files (find() matches the exact name first, then ignoring the case):

Entries carry the Rock Ridge / UDF attributes:

Reading an image from a pipe or standard input (copied to a temporary file, removed when the object is destroyed; at most IsoFile::MAX_STREAM_BYTES by default):

Extracting everything (names are untrusted input, the extractor refuses names that could escape the destination):

Reading the El Torito boot catalog and extracting the boot image:

Errors and exceptions

Every failure caused by the image or by an invalid argument is a PhpIso\Exception (PhpIso\Descriptor\Exception extends it), nothing else should escape for a damaged image; catching PhpIso\Exception is enough:

Limits

The image is untrusted input, so sizes taken from it are bounded:

Low level access to the descriptors and the path table:


All versions of php-iso with dependencies

PHP Build Version
Package Version
Requires php Version >=8.3
ext-mbstring Version *
nesbot/carbon Version ^3.8
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package indy2kro/php-iso contains the following files

Loading the files please wait ...