Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evozi/apk-parser-php
Read basic android application info from APK file using PHP
https://github.com/evozi/apk-parser-php
android apk-parser composer evozi php
Last synced: 8 days ago
JSON representation
Read basic android application info from APK file using PHP
- Host: GitHub
- URL: https://github.com/evozi/apk-parser-php
- Owner: evozi
- License: other
- Created: 2015-01-18T10:36:44.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T08:09:10.000Z (over 2 years ago)
- Last Synced: 2024-09-23T08:39:58.622Z (about 1 month ago)
- Topics: android, apk-parser, composer, evozi, php
- Language: PHP
- Homepage: https://github.com/evozi/apk-parser-php
- Size: 870 KB
- Stars: 37
- Watchers: 5
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [APK Parser](https://github.com/evozi/apk-parser-php)
[![Latest Stable Version](https://poser.pugx.org/evozi/apk-parser-php/version.svg)](https://packagist.org/packages/evozi/apk-parser-php) [![Latest Unstable Version](https://poser.pugx.org/evozi/apk-parser-php/v/unstable.svg)](//packagist.org/packages/evozi/apk-parser-php) [![Total Downloads](https://poser.pugx.org/evozi/apk-parser-php/downloads.svg)](https://packagist.org/packages/evozi/apk-parser-php)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 7.1+
# Installation
## Composer
### Install Composer
```bash
curl -sS https://getcomposer.org/installer | php
```### Install via composer by hand
Create a composer.json into your project and add to your composer.json file by hand.
```javascript
{
...
"require": {
...
"evozi/apk-parser-php":"dev-master"
}
...
}
```Once you have added this, just run:
```bash
php composer.phar update evozi/apk-parser-php
```
or```bash
composer install
```### Install using composer
```bash
php composer.phar require evozi/apk-parser-php:dev-master
```# Testing
Tests are powered by PHPUnit. You have several options.
- Run `phpunit` if PHPUnit is installed globally.
- Install dependencies (requires [Composer](https://getcomposer.org/download)).
Run `php composer.phar --dev install` or `composer --dev install`. Then `bin/vendor/phpunit` to run version
installed by Composer. This ensures that you are running a version compatible with the test suite.# License
APK Parser is [MIT licensed](./LICENSE.md).