Download the PHP package gmapsleadfinder/google-maps-scraper without Composer

On this page you can find all versions of the php package gmapsleadfinder/google-maps-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-maps-scraper

Google Maps Scraper

Google Maps Lead Scraper

Google Maps Extractor · Google Maps Lead Scraper · Google Maps Lead Extractor

PHP SDK to scrape Google Maps places (leads), reviews, and photos through a hosted Agent HTTP API. Powered by GMaps Lead Finder. This is not a local browser crawler — jobs run in the cloud scrape-and-enrich pipeline.

Get an API key

  1. Sign in at gmapsleadfinder.com.
  2. Use a plan with Agent API (Growth or higher) — see Pricing.
  3. Open Account → API key and copy your gmf_… key.

Install

Requires PHP 8.1+ with ext-curl and ext-json.

Quickstart

CLI (after Composer install):

From this repo:

Client API

Method Description
new Client($options) From env / apiKey / baseUrl / timeoutMs
me() Plan & credits
createJob($keyword) Queue one-keyword leads job
getJob($jobId) Poll leads status
getResults($jobId, $options) Paginated leads rows (limit, cursor)
scrape($keyword, $options) Create → poll → all leads rows
createReviewsJob($place) Queue single-place reviews job
getReviewsJob($jobId) Poll reviews status
getReviewsResults($jobId, $options) Paginated review rows
scrapeReviews($place, $options) Create → poll → all review rows
createPhotosJob($place) Queue single-place photos job
getPhotosJob($jobId) Poll photos status
getPhotosResults($jobId, $options) Paginated photo rows
scrapePhotos($place, $options) Create → poll → all photo rows

scrape / scrapeReviews / scrapePhotos options: pollIntervalMs (default 2000), timeoutMs (default 600000), resultLimit (default 100).

Errors

Exceptions under GmapsLeadFinder\GoogleMapsScraper\Exceptions\:

HTTP Class
400 BadRequestException
401 AuthenticationException
402 InsufficientCreditsException
403 PlanNotAllowedException
404 NotFoundException
409 JobConflictException
— TimeoutException, ApiException

Limits

Publish to Packagist

Then submit https://github.com/gmaps-lead-finder/google-maps-scraper-php at packagist.org.

Links

Resource URL
Website https://gmapsleadfinder.com
HTTP API https://gmapsleadfinder.com/docs/api
Packagist https://packagist.org/packages/gmapsleadfinder/google-maps-scraper
Multi-language kit https://github.com/gmaps-lead-finder/google-maps-scraper

License

MIT


All versions of google-maps-scraper with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-curl Version *
ext-json Version *
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 gmapsleadfinder/google-maps-scraper contains the following files

Loading the files please wait ...