burakhan/php-apk-info

Android Manifest File Basic Reader

v0.5 2015-05-04 07:57 UTC

This package is not auto-updated.

Last update: 2025-07-19 22:12:59 UTC


README

Android application package Information

Requirements

PHP 5.3+ PhpUnit 3.7+

Installation

  • Install composer
  • Create a composer.json into your project like the following sample:
{
    ...
    "require": {
        "burakhan/php-apk-info": "dev-master"
    }
}
  • Then from your composer.json folder: php composer.phar update or composer update

Default Configuration

array(
    'tmp_path' => sys_get_temp_dir(),
    'jar_path' => __DIR__ . '/bin/APKParser.jar',
    'lang_code' => 'en'
)

How to use

<?php
require 'vendor/autoload.php';

$configuration = array(
                         'tmp_path' => '/tmp',
                         'lang_code' => 'tr'
                     );
                     
$app = new \ApkInfo\Info(
    'your_apk_file',
    $configuration
);