2017 © Pedro Peláez
 

library sharkipaparser

A simple php library to parse the Apple IPA's plist

image

sharksoft/sharkipaparser

A simple php library to parse the Apple IPA's plist

  • Wednesday, October 26, 2016
  • by sharksoft
  • Repository
  • 1 Watchers
  • 1 Stars
  • 45 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SharkIpaParser

FOSSA Status, (*1)

A simple php library to parse the Apple IPA's plist, (*2)

Installation

Add this library at your composer.json, (*3)

...
    "minimum-stability": "dev",
    "require": {
        "php": ">=5.3",
        "sharksoft/sharkipaparser": "master"
    },
...

Then, (*4)

composer install

Use (for details see test.php)

require_once 'class/SharkIpaParser.php';
//instance
$shark = new SharkIpaParser\SharkIpaParserHelper();
$shark->load_ipa('C:\Users\mario\Desktop\test.ipa');
$array_plist = $shark->read_plist();

The result of $array_plist is something similar:, (*5)

array (size=34)
  'UIRequiredDeviceCapabilities' => 
    array (size=1)
      0 => string 'armv7' (length=5)
  'UIRequiresFullScreen' => boolean true
  'CFBundleInfoDictionaryVersion' => string '6.0' (length=3)
  'UISupportedInterfaceOrientations~ipad' => 
    array (size=2)
      0 => string 'UIInterfaceOrientationLandscapeLeft' (length=35)
      1 => string 'UIInterfaceOrientationLandscapeRight' (length=36)
  'DTPlatformVersion' => string '10.0' (length=4)
  'DTCompiler' => string 'com.apple.compilers.llvm.clang.1_0' (length=34)
  'DTSDKName' => string 'iphoneos10.0' (length=12)
  'CFBundleName' => string 'AppName' (length=9)
  'UIMainStoryboardFile~ipad' => string 'MainiPad' (length=8)
  'CFBundleIcons' => 
    array (size=1)
      'CFBundlePrimaryIcon' => 
        array (size=1)
          'CFBundleIconFiles' => 
            array (size=3)
              ...
  'LSRequiresIPhoneOS' => boolean true
  'DTSDKBuild' => string '14A345' (length=6)
  'CFBundleShortVersionString' => string '0.5' (length=3)
  'CFBundleSupportedPlatforms' => 
...

The structure is key => value, for example you can access at CFBundleName in this way:, (*6)

echo $array_plist['CFBundleName'];
Output: "AppName"

enjoy ;)

License

FOSSA Status, (*7)

The Versions

26/10 2016

dev-master

9999999-dev

A simple php library to parse the Apple IPA's plist

  Sources   Download

The Requires

 

by Mario Buonomo

12/10 2016

1

1.0.0.0

A simple php library to parse the Apple IPA's plist

  Sources   Download

The Requires

 

by Mario Buonomo