This package can extract application package files in APK format used by devices running on Android OS. It can open an APK file and extract the contained manifest file to parse it and retrieve the meta-information it contains like the application name, description, device feature access permission it requires, etc.. The class can also extract the whole files contained in the APK file to a given directory.
PHP 5.3+
if you want to run it on 5.2- see : for-php-5.2
- Install composer
- Create a composer.json into your project like the following sample:
{
...
"require": {
"tufanbarisyildirim/php-apk-parser":"dev-master"
}
}
- Then from your
composer.json
folder:php composer.phar install
orcomposer install
Tests are powered by PHPUnit. You have several options.
- Run
phpunit
if PHPUnit is installed globally. - Install dependencies (requires Composer).
Run
php composer.phar --dev install
orcomposer --dev install
. Thenbin/vendor/phpunit
to run version installed by Composer. This ensures that you are running a version compatible with the test suite.