PHPackages                             abaydullah/google-play-scraper - 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. abaydullah/google-play-scraper

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

abaydullah/google-play-scraper
==============================

v3.2.0(1y ago)3482[1 issues](https://github.com/abaydullah/google-play-scraper/issues)PHPPHP ^8.1

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/abaydullah/google-play-scraper)[ Packagist](https://packagist.org/packages/abaydullah/google-play-scraper)[ RSS](/packages/abaydullah-google-play-scraper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (7)Used By (0)

بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ
====================================

[](#بِسْمِ-اللهِ-الرَّحْمٰنِ-الرَّحِيْمِ)

Google Play Scraper For PHP
===========================

[](#google-play-scraper-for-php)

About A PHP Package To Scrape Android Apps Data From The Google Play Store.

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

[](#installation)

Add `abaydullah/google-play-scraper` as a require dependency in your `composer.json` file:

```
$ composer require abaydullah/google-play-scraper
```

Usage
-----

[](#usage)

First create a `Scraper` instance.

```
use Abaydullah\GooglePlayScraper\Scraper;
 $scraper = new Scraper();
```

### Default

[](#default)

```
$lang = 'en';
$country = 'us'
```

##### There are several methods to configure the default behavior:

[](#there-are-several-methods-to-configure-the-default-behavior)

- `setDefaultLang($lang)`: Sets the default language for all requests. `$lang` must be an [ISO\_639-1](https://en.wikipedia.org/wiki/ISO_639-1) two letter language code. If not set, the default language is `en`.
- `setDefaultCountry($country)`: Sets the default country for all requests. `$country` must be an [ISO\_3166-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) two letter country code. If not set, the default country is `us`.

##### Example

[](#example)

```
$scraper->setDefaultLang('bn');
$scraper->setDefaultCountry('BD');
```

### getApp

[](#getapp)

Gets app information given its ID.

#### Parameters

[](#parameters)

- `$id`: Google Play app ID.
- `$lang`: (optional, defaults to `null`): Overrides the default language.
- `$country`: (optional, defaults to `null`): Overrides the default country.

#### Example

[](#example-1)

```
$app = $scraper->getApp('com.facebook.katana');
```

Returns:

```
{
    "url": "https://play.google.com/store/apps/details?id=com.facebook.katana&hl=en&gl=us",
    "app_id": "com.facebook.katana",
    "title": "Facebook",
    "icon": "https://play-lh.googleusercontent.com/KCMTYuiTrKom4Vyf0G4foetVOwhKWzNbHWumV73IXexAIy5TTgZipL52WTt8ICL-oIo=w240-h480",
    "icon_original": "https://play-lh.googleusercontent.com/KCMTYuiTrKom4Vyf0G4foetVOwhKWzNbHWumV73IXexAIy5TTgZipL52WTt8ICL-oIo",
    "cover_image": "",
    "developer_name": "Meta Platforms, Inc.",
    "developer_url": "https://play.google.com/store/apps/developer?id=Meta+Platforms,+Inc.",
    "rating": "3.7",
    "histograms": {
        "1": "335787671",
        "2": "54119072",
        "3": "74328363",
        "4": "115914304",
        "5": "769691055"
    },
    "review": "135M",
    "downloads": "5B+",
    "paid": false,
    "updated": "Apr 15, 2024",
    "category_name": "Social",
    "category_url": "https://play.google.com/store/apps/category/SOCIAL",
    "category_slug": "SOCIAL",
    "trailer": "",
    "type": "app",
    "screenshots": [
        "https://play-lh.googleusercontent.com/W_Y8ucZDrPOv9fBnDMF_s8y1e7NEsuw5_X3J3kE2dneQrzIB-K4Q4hv4bxcFuPnkhg=w1052-h592",
        "https://play-lh.googleusercontent.com/PTAbVSQOLpXQeVrzjQDNDUjPUp8C2Kr6PnO_Jh-p7s9eScuwZ4Y3x1U1W39rBeHieEg=w1052-h592",
        "https://play-lh.googleusercontent.com/xL67taOKGP0WLg28H6s3Jf2xDL3F4_Tj4O4a9Exs7u19muZFcFzuChk2zgMqec7umA=w1052-h592",
        "https://play-lh.googleusercontent.com/kvvzjEmtQU0wDB3hUHyBuu0N2QRshAWu3RBTKEPZOisYgGBa3P3UxU71rYzLPHcqals=w1052-h592",
        "https://play-lh.googleusercontent.com/xxpLCl7SsEBouBCJLLsvDaKP9cMszUysS2S7U0hWMX7PA0TkvCNjg-NAsE-h-IpkGysJ=w1052-h592"
    ],
    "whats_new": "",
    "meta_description": "Explore the things you love",
    "description": "Whether you’re looking for a spark of inspiration with reels or want to dive deeper into something you already love with Marketplace or in groups, you can discover ideas, experiences and people that fuel your interests and help you make progress on the things that matter to you on Facebook.Explore and expand your interests:* Shop for affordable and uncommon stuff on Marketplace and take your hobbies to the next level* Personalize your Feed to see more of what you like, less of what you don’t* Watch reels for quick entertainment that sparks inspiration* Discover creators, small businesses and communities who can help you dive deeper into the things you care aboutConnect with people and communities:* Join groups to learn tips and tricks from real people who’ve been there, done that* Catch up with friends, family and influencers through Feed and storiesShare your world:* Effortlessly create reels from trending templates, or let your creativity shine with a full suite of editing tools* Customize your profile to choose how you show up and who you share your posts with* Turn your hobby into a side hustle by becoming a creator or selling things on Marketplace* Celebrate everyday, candid moments with stories, which disappear in 24 hoursConsumer Health Privacy Policy: https://www.facebook.com/privacy/policies/health"
}
```

### getCategoryApps

[](#getcategoryapps)

Gets multiple apps given Category Slug.

#### Parameters

[](#parameters-1)

- `$category`: Category Slug.
- `$lang`: (optional, defaults to `null`): Overrides the default language.
- `$country`: (optional, defaults to `null`): Overrides the default country.

#### Example

[](#example-2)

```
$apps = $scraper->getCategoryApps('COMMUNICATION');
```

Return All Apps Related With This Category

Returns:

```
array (
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.alohamobile.browser.lite",
        "app_id": "com.alohamobile.browser.lite",
        "title": "Aloha Browser Lite - Fast VPN",
        "icon": "https://play-lh.googleusercontent.com/HdFVWGWkOtASTeDTqs1jdTDuT9PSOsiXivSCRpF8n46b6S-5bucEHBH17v-tkCTSVL4_=s512",
        "rating": "4.3",
        "type": "app"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.alohamobile.browser.lite",
        "app_id": "com.alohamobile.browser.lite",
        "title": "Aloha Browser Lite - Fast VPN",
        "icon": "https://play-lh.googleusercontent.com/HdFVWGWkOtASTeDTqs1jdTDuT9PSOsiXivSCRpF8n46b6S-5bucEHBH17v-tkCTSVL4_=s512",
        "rating": "4.3",
        "type": "app"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.androidbull.incognito.browser",
        "app_id": "com.androidbull.incognito.browser",
        "title": "Incognito Browser - Go Private",
        "icon": "https://play-lh.googleusercontent.com/qX1wOYfB1l4zR3WKIiZf54Rfj50ntBMeuBubfj8K0nYo4p0-AYjRd63DsgJ6itLn6g=s512",
        "rating": "4.3",
        "type": "app"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.androidbull.incognito.browser",
        "app_id": "com.androidbull.incognito.browser",
        "title": "Incognito Browser - Go Private",
        "icon": "https://play-lh.googleusercontent.com/qX1wOYfB1l4zR3WKIiZf54Rfj50ntBMeuBubfj8K0nYo4p0-AYjRd63DsgJ6itLn6g=s512",
        "rating": "4.3",
        "type": "app"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.ayoba.ayoba",
        "app_id": "com.ayoba.ayoba",
        "title": "Ayoba chat.games.news.music",
        "icon": "https://play-lh.googleusercontent.com/Jf-XEGdn7L1oK6YMvRBUu2ybkT_hDNgyAqEVh_oa1of_jcE8ADE0o2HYArpeFzmGHX8=s512",
        "rating": "4.3",
        "type": "app"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.azarlive.android",
        "app_id": "com.azarlive.android",
        "title": "Azar - video chat & livestream",
        "icon": "https://play-lh.googleusercontent.com/Gv4fpcy-Wi5jXHdfd3YXgCzrojWIylcfYs_nC8cY0adOunZjawr3S9Xznjx7_mza4RI=s512",
        "rating": "3.9",
        "type": "app"
    }
)
```

### getDeveloper

[](#getdeveloper)

Returns an array with the existing Developer Information From Google Play.

#### Example

[](#example-3)

```
$apps = $scraper->getDeveloper('6720847872553662727');
```

Returns:

```
{
  "cover" : "https://play-lh.googleusercontent.com/1QKAMf_OwuL8ftJBmPAScxrpYvpjLllyPF22Xu6pJ84z465MUF0YvS4p0f4rLTlRyDc=w3840-h2160"
  "icon" : "https://play-lh.googleusercontent.com/kHRf85euDvW-Kg7ThXK2vv-J-Yye9uxoo6GQvUcAwudNRz1sQvXubAl_m2bu6KJofA=s94"
  "name" : "Microsoft Corporation"
  "des" : "Apps from Microsoft - the worldwide leader in software, services and devices that help people and businesses realize their full potential."
}

```

### getDeveloperApps

[](#getdeveloperapps)

Returns an array with the existing Developer Apps From Google Play.

#### Example

[](#example-4)

```
$apps = $scraper->getDeveloperApps('Meta+Platforms,+Inc.');
```

Returns:

```
array (
 {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.orca",
        "app_id": "com.facebook.orca",
        "title": "Messenger",
        "icon": "https://play-lh.googleusercontent.com/kBtGTjKuAMwshWKj9USE93mA-iaERBKoLY1i2I0M-5adZwPlx8izXR8tgK3uc4GTdt6O=w832-h470",
        "rating": "4.2"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.lite",
        "app_id": "com.facebook.lite",
        "title": "Facebook Lite",
        "icon": "https://play-lh.googleusercontent.com/2jRTJ3cnljrAs1WSXVrg5DrW-xMUIIMUh1f8boOxQBRZhb2iAM-3QlYBC31vtdIeZ2JD=w832-h470",
        "rating": "4.1"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.katana",
        "app_id": "com.facebook.katana",
        "title": "Facebook",
        "icon": "https://play-lh.googleusercontent.com/IPiYhMAw_Y0WmQ7hpKkU_XE4QK5q9X_hECm649kDavLbVkSEnDGAjav_KisF3URVeHXu=w832-h470",
        "rating": "4.4"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.pages.app",
        "app_id": "com.facebook.pages.app",
        "title": "Meta Business Suite",
        "icon": "https://play-lh.googleusercontent.com/rDkO_W0YLooPkw0_ZL_6EWkl0kepE9xrVePqI_Ve_iLk-J2KGN8dpNeecwYwcnyg9n8d=w832-h470",
        "rating": "4.5"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.adsmanager",
        "app_id": "com.facebook.adsmanager",
        "title": "Meta Ads Manager",
        "icon": "https://play-lh.googleusercontent.com/QJTcnngy553as-l-f0n3LFuvVwXKwpMrwAUZZEElem6PkGKPHocTM-k1cGzXKXlylw=w832-h470",
        "rating": "4.7"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.talk",
        "app_id": "com.facebook.talk",
        "title": "Messenger Kids – The Messaging",
        "icon": "https://play-lh.googleusercontent.com/qMYPWHJis5DVg34TGkv4Qrbx28HYd_titGJCO8LPHogXQlqYfyWpbkRofULQtDlpv2s=w832-h470",
        "rating": "3.7"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.work",
        "app_id": "com.facebook.work",
        "title": "Workplace from Meta",
        "icon": "https://play-lh.googleusercontent.com/vNthkJ079wVUiXWvd9GFEsNC4fyXSvvIKLKGO3fQhL18n67EUyEl-BD0chezk77kGeQ=w832-h470",
        "rating": "4.7"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.workchat",
        "app_id": "com.facebook.workchat",
        "title": "Workplace Chat from Meta",
        "icon": "https://play-lh.googleusercontent.com/E0PebXhly1rJDEAhhJihUCKKNeh2CfiXJzo6g-aewD_id6RTc4CxpX5rrqUDfe0BA94=w832-h470",
        "rating": "4.6"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.discoverapp",
        "app_id": "com.discoverapp",
        "title": "Discover from Facebook",
        "icon": "https://play-lh.googleusercontent.com/Cu8JWdClO0GT0yOHlKDmDbDTPm_qvIAYU3DDxmImIZWUelk4KrvqxL9C0_MZD1nyT5g=w832-h470",
        "rating": "4.0"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.stella",
        "app_id": "com.facebook.stella",
        "title": "Meta View",
        "icon": "https://play-lh.googleusercontent.com/CFG9W4ijXgOFSqAGBbmW-dQTp6SNqX9VX7nXSIEFnmLK9QTHf63jA0giLDhv9JpQrwR7=w832-h470",
        "rating": "3.8"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.viewpoints",
        "app_id": "com.facebook.viewpoints",
        "title": "Viewpoints",
        "icon": "https://play-lh.googleusercontent.com/-uS41IcOhk2xtx_21RTwJlx4w4y-C73mAPnhr-ilY7GjQm62B9DIwz02rERnmNFAkNo=w832-h470",
        "rating": "3.6"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.freebasics",
        "app_id": "com.freebasics",
        "title": "Free Basics by Facebook",
        "icon": "https://play-lh.googleusercontent.com/iH9tFPDt5CWy-EMMRl6ZGdYHMBxlXgCgC7uMugumjZM8vo5tJwdqeYEhi7ZfAvBN_iC5=w832-h470",
        "rating": "3.9"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.facebook.arstudio.player",
        "app_id": "com.facebook.arstudio.player",
        "title": "Meta Spark Player",
        "icon": "https://play-lh.googleusercontent.com/BDuoGjyLjQDLm2_O6Dk7CBX92oi2vJ5BtZqJiv5f90Gk13ePcSgQOneHlW_2odYBDac=w832-h470",
        "rating": "4.1"
    }
)
```

### getSearchApps

[](#getsearchapps)

You Can Search With Any Keyword For Get Apps in Array.

#### Example

[](#example-5)

```
$apps = $scraper->getSearchApps('new Apps');
```

Returns:

```
array (
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.imo.android.imoim",
        "app_id": "com.imo.android.imoim",
        "title": "imo-International Calls & Chat",
        "icon": "https://play-lh.googleusercontent.com/9T3EIiVRyvqMRnuHEFvPtHNRfcXj4WBVDpnSN5qj0t3-fSZhZaNj9ZHx55jLj3yXgGw=w832-h470",
        "rating": "4.2"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.google.android.googlequicksearchbox",
        "app_id": "com.google.android.googlequicksearchbox",
        "title": "Google",
        "icon": "https://play-lh.googleusercontent.com/U8zDyTkJcCQFtKDeu4x8M2_-zIcVuF53fzipTAqZ4nY-ojbAjTNYhS_Z8SVNNysE5A=w832-h470",
        "rating": "4.4"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.google.android.gm",
        "app_id": "com.google.android.gm",
        "title": "Gmail",
        "icon": "https://play-lh.googleusercontent.com/bfpdXys_ABrZGPvu8M94gI9yGV7hvFFP11_-6bt6DSHlpowhdtCitbNrYoCECI3LCsE=w832-h470",
        "rating": "4.5"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.google.android.apps.maps",
        "app_id": "com.google.android.apps.maps",
        "title": "Google Maps",
        "icon": "https://play-lh.googleusercontent.com/FQx43QTaAqeOtoTLylK3WIs7ySKuGS8AurXNA1Kj34m6w6CjavF4Oj3s5DB6xZZ7DS63=w832-h470",
        "rating": "4.4"
    },
    {
        "app_url": "https://play.google.com/store/apps/details?id=com.google.android.youtube",
        "app_id": "com.google.android.youtube",
        "title": "YouTube",
        "icon": "",
        "rating": "4.1"
    },
)
```

Thanks You
===========

[](#thanks-you-)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~42 days

Recently: every ~53 days

Total

6

Last Release

541d ago

Major Versions

v0.1.0 → v1.0.02024-04-16

v1.0.0 → v2.5.02024-05-01

v2.5.0 → v3.0.02024-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/3b8fe603722b4b20fc54ea69fab6ebdb071b57e6da392f58a11e1f70f905957f?d=identicon)[abaydullah](/maintainers/abaydullah)

---

Top Contributors

[![abaydullah](https://avatars.githubusercontent.com/u/36629239?v=4)](https://github.com/abaydullah "abaydullah (11 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abaydullah-google-play-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/abaydullah-google-play-scraper/health.svg)](https://phpackages.com/packages/abaydullah-google-play-scraper)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[spatie/laravel-sitemap

Create and generate sitemaps with ease

2.6k14.6M107](/packages/spatie-laravel-sitemap)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[sproutcms/cms

Enterprise content management and framework

241.6k4](/packages/sproutcms-cms)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
