tufanbarisyildirim / php-apk-parser
Read basic info about an application from .apk file.
Installs: 413 381
Dependents: 7
Suggesters: 0
Security: 0
Stars: 342
Watchers: 14
Forks: 119
Open Issues: 10
Requires
- php: >=8.0
- ext-json: *
- ext-libxml: *
- ext-mbstring: *
- ext-simplexml: *
- ext-zip: *
Requires (Dev)
- phpunit/phpunit: ^8.5
This package is not auto-updated.
Last update: 2024-12-21 13:56:41 UTC
README
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.
Requirements
PHP 8.0+
PHP 7.3+ is in 2.x.x branch
Installation
- Install composer
- Run the following command in the folder where
composer.json
is:composer require tufanbarisyildirim/php-apk-parser
Testing
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.
Contributing
Fork the repo, make your changes, add your name to developers, and create a pull request with a comment that describe your changes. That's all! Thanks to all contributers
Thanks
Thanks JetBrains for the free open source license
License
Apk Parser is MIT licensed.