Download the PHP package evrenonur/google-play-scraper without Composer

On this page you can find all versions of the php package evrenonur/google-play-scraper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package google-play-scraper

Google Play Scraper for PHP

Latest Version on Packagist PHP Version Tests

Google Play Scraper: Easily Scrape Google Play Store Data

Scrape detailed app information, search results, reviews, and more from the Google Play Store with a single PHP library.

This package is a PHP port of facundoolano/google-play-scraper (Node.js).

Features

Requirements

Installation

Install via Composer:

Usage

Available methods:

app

Retrieves the full detail of an application. Parameters:

Example:

Results:

list

Retrieves a list of applications from one of the collections at Google Play. Parameters:

Example:

Results:

search

Retrieves a list of apps that results of searching by the given term. Parameters:

Example:

Results:

developer

Returns the list of applications by the given developer name or ID. Parameters:

Example:

Results:

suggest

Given a string returns up to five suggestions to complete a search query term. Parameters:

Example:

Results:

reviews

Retrieves a page of reviews for a specific application. Parameters:

Example:

Results:

similar

Returns a list of similar apps to the one specified. Parameters:

Example:

Results:

permissions

Returns the list of permissions an app has access to. Parameters:

Example:

Results (detailed):

Results (short):

dataSafety

Returns the data safety information of an app. Parameters:

Example:

Results:

categories

Retrieves a full list of categories present from dropdown menu on Google Play.

Example:

Results:

Configuration

Proxy Support

Throttling

Custom Guzzle Options

Enums

Collection

Value Description
Collection::TOP_FREE Top free apps
Collection::TOP_PAID Top paid apps
Collection::GROSSING Top grossing apps

Category

53 category values:

App Categories Game Categories
APPLICATION, COMMUNICATION, EDUCATION, ENTERTAINMENT, FINANCE, HEALTH_AND_FITNESS, LIFESTYLE, MUSIC_AND_AUDIO, NEWS_AND_MAGAZINES, PHOTOGRAPHY, PRODUCTIVITY, SHOPPING, SOCIAL, SPORTS, TOOLS, TRAVEL_AND_LOCAL, VIDEO_PLAYERS, WEATHER, ... GAME, GAME_ACTION, GAME_ADVENTURE, GAME_ARCADE, GAME_BOARD, GAME_CARD, GAME_CASINO, GAME_CASUAL, GAME_EDUCATIONAL, GAME_MUSIC, GAME_PUZZLE, GAME_RACING, GAME_ROLE_PLAYING, GAME_SIMULATION, GAME_SPORTS, GAME_STRATEGY, GAME_TRIVIA, GAME_WORD

Sort

Value Description
Sort::HELPFULNESS Most helpful first
Sort::NEWEST Newest first
Sort::RATING Highest rated first

Price

Value Description
Price::ALL All apps
Price::FREE Free apps only
Price::PAID Paid apps only

Age

Value Description
Age::FIVE_UNDER Ages 5 & under
Age::SIX_EIGHT Ages 6-8
Age::NINE_UP Ages 9 & up

Project Structure

Testing

Test Structure

Suite Files Description
Unit Tests tests/ Mock-based, no network access required
Scraper Tests tests/Scraper/ One test file per scraper (10 files)
Utility Tests tests/ ScriptData, MappingHelper, HttpClient
Enum Tests tests/EnumTest.php Category, Collection, Sort, Price, Age
Facade Tests tests/GooglePlayScraperTest.php Main facade class
Integration Tests tests/integration.php Real API tests

Dependencies

Package Version Purpose
guzzlehttp/guzzle ^7.9 HTTP client
symfony/dom-crawler ^7.2 HTML parsing
symfony/css-selector ^7.2 CSS selector support
psr/log ^3.0 Logging interface
phpunit/phpunit ^12.5 Testing (dev)

License

MIT License. See LICENSE for details.

Reference

This PHP package was developed based on the architecture and workflows of facundoolano/google-play-scraper (Node.js).


All versions of google-play-scraper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
guzzlehttp/guzzle Version ^7.9
symfony/dom-crawler Version ^7.2
symfony/css-selector Version ^7.2
psr/log Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package evrenonur/google-play-scraper contains the following files

Loading the files please wait ...