PHPackages                             evozi/apk-parser-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. evozi/apk-parser-php

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

evozi/apk-parser-php
====================

Read basic info about android application from .apk file.

3.0.0(1mo ago)412.3k17MITPHPPHP &gt;=8.1CI passing

Since Feb 3Pushed 1mo ago4 watchersCompare

[ Source](https://github.com/evozi/apk-parser-php)[ Packagist](https://packagist.org/packages/evozi/apk-parser-php)[ Docs](https://github.com/evozi/apk-parser-php)[ RSS](/packages/evozi-apk-parser-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

APK Parser
==========

[](#apk-parser)

[![CI](https://github.com/evozi/apk-parser-php/actions/workflows/ci.yml/badge.svg)](https://github.com/evozi/apk-parser-php/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/d09ac59152593253d131de7292853ec196b37b90dbd6665fd9ded5420ca3798d/68747470733a2f2f706f7365722e707567782e6f72672f65766f7a692f61706b2d7061727365722d7068702f76657273696f6e2e737667)](https://packagist.org/packages/evozi/apk-parser-php)[![Total Downloads](https://camo.githubusercontent.com/0e8cdd0104132104bb00517dcf8aad7663e4e3746a94e340384cc9a6716dfd71/68747470733a2f2f706f7365722e707567782e6f72672f65766f7a692f61706b2d7061727365722d7068702f646f776e6c6f6164732e737667)](https://packagist.org/packages/evozi/apk-parser-php)

A pure-PHP library for reading Android application packages (`.apk` files). It parses the binary `AndroidManifest.xml` and resource table without any external tools, giving you access to the package name, version, SDK levels, permissions, activities, and more. It can also list every class defined in the app's dex files (multidex supported) using a native PHP dex parser — no Java required — and extract the APK's contents to a directory.

Requirements
------------

[](#requirements)

- PHP 8.1+ (tested on PHP 8.1 – 8.5)
- Extensions: `zip`, `simplexml`, `libxml`, `json`, `mbstring`

Installation
------------

[](#installation)

```
composer require evozi/apk-parser-php
```

Usage
-----

[](#usage)

### Reading basic information

[](#reading-basic-information)

```
