/ipa-parser-php

.ipa (IOS) Parser Information (PHP)

Primary LanguagePHPMIT LicenseMIT

.ips (IOS) parser information

Latest Version on Packagist Total Downloads GitHub Actions

The PHP IPA ISO Parser is a robust tool tailored for extracting and interpreting data from IPA (iOS App Store Package) builds. Seamlessly dive into the core details of any IPA file, retrieve essential metadata, and streamline your iOS app analysis and deployment processes with this efficient package.

Installation

You can install the package via composer:

composer require bamalik1996/ipa-parser-php

Usage

$parser = new IPAParser('path_to_your_ipa_file.ipa');

if ($parser->extractInfoPlist()) {
    $parser->convertPlistToXml();
    $appInfo = $parser->getAppInfo();

    echo "App Name: " . $appInfo['CFBundleName'] . "\n";
    echo "Bundle Identifier: " . $appInfo['CFBundleIdentifier'] . "\n";
    echo "Version: " . $appInfo['CFBundleShortVersionString'] . "\n";
    // ... and so on for other keys you're interested in
} else {
    echo "Failed to extract Info.plist.";
}

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits