Apk Parser: Extract Application Package files in APK format

Recommend this page to a friend!

  Author  
Picture of Tufan Baris YILDIRIM
Name: Tufan Baris YILDIRIM is available for providing paid consulting. Contact Tufan Baris YILDIRIM .
Classes: 11 packages by
Country: Turkey Turkey
Age: 30
All time rank: 1743 in Turkey Turkey
Week rank: 694 14 in Turkey Turkey
Innovation award
Innovation award
Nominee: 5x

Winner: 4x


  Detailed description   Download .zip .tar.gz   Install with Composer  
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.

Details

Apk Parser

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 5.3+

Installation

  • 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` or `composer install`

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` 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.

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!

Developers

Tufan Barış Yıldırım

Supporters

MiKandi Team supports/develops Apk parser

Php Storm

JetBrains provides opensource license to Apk Parser's core developers.

Add your name here if you want to support/donate apk-parser

Who Uses Apk Parser

World #1 Adult App Store MiKandi uses Apk Parser on their app store

Add your name here if you use apk-parser on your any project.

License

Apk Parser is MIT licensed.


  Classes of Tufan Baris YILDIRIM  >  Apk Parser  >  Download .zip .tar.gz  >  Support forum (10)  >  Blog (1)  >  Latest changes  
Name: Apk Parser
Base name: apk-parser
Description: Extract Application Package files in APK format
Version: 1.15
PHP version: 5.3
License: GNU General Public License (GPL)
All time users: 1685 users
All time rank: 2309
Week users: 0 users
Week rank: 230
 
  Groups   User ratings   Applications   Files  

  Groups  
PHP 5 Classes using PHP 5 specific features View top rated classes
Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  Innovation Award  
PHP Programming Innovation award winner
April 2012
Winner


Prize: One book of choice by Packt
APK is file format for storing application files used in the Android operating system.

This class provides a pure PHP solution for analyzing and extracting the contents of arbitrary APK files.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (91%) Good (90%) Sufficient (75%) Good (88%) Good (86%) - Sufficient (79%) 30
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

If you know an application of this package, send a message to the author to add a link here.

  Files  
File Role Description
examples (7 files)
lib (1 directory)
test (1 file, 1 directory)
.travis.yml Data travis bulding
composer.json Data added composer
LICENSE.md Lic. License text
phpunit.xml Data phpunit configuration
README.md Doc. Documentation

  Files  /  examples  
File Role Description
   ApkActivities.php Example Example script
   ApkClasses.php Example Example script
   ApkExtractor.php Example Example script
   ApkInfo.php Example Example script
   ApkResource.php Example resource parsing
   autoload.php Aux. Auxiliary script
   PrintManifestXml.php Example Example script

  Files  /  lib  
File Role Description
ApkParser (15 files)

  Files  /  lib  /  ApkParser  
File Role Description
   Activity.php Class Class source
   AndroidPlatform.php Class Class source
   Application.php Class Class source
   Archive.php Class Class source
   Config.php Class Class source
   IntentFilter.php Class Class source
   Manifest.php Class Class source
   ManifestXmlElement.php Class Class source
   Parser.php Class Class source
   ResourcesParser.php Class Class source
   SeekableStream.php Class Class source
   Stream.php Class Class source
   Utils.php Class Class source
   Xml.php Class Class source
   XmlParser.php Class Class source

  Files  /  test  
File Role Description
resources (1 file)
   ParserTest.php Test more tests!

  Files  /  test  /  resources  
File Role Description
   ebhs.png Icon Icon image

Install with Composer - Download all files: apk-parser.tar.gz apk-parser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.