{"id":23394305,"url":"https://github.com/outscraper/outscraper-php","last_synced_at":"2026-01-29T09:32:57.651Z","repository":{"id":40587798,"uuid":"345619325","full_name":"outscraper/outscraper-php","owner":"outscraper","description":"The library provides convenient access to the Outscraper API from applications written in the PHP language. Allows using Outscraper's services from your code.","archived":false,"fork":false,"pushed_at":"2025-02-01T13:34:11.000Z","size":46,"stargazers_count":17,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T13:12:44.171Z","etag":null,"topics":["google-api","google-maps-api","google-maps-scraping","google-rating-api","google-reviews-api","google-scraping","google-serp-api","php","scraper","scraping","scraping-python","scraping-websites","serp-api"],"latest_commit_sha":null,"homepage":"https://outscraper.com/google-maps-api/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/outscraper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-08T10:36:51.000Z","updated_at":"2025-02-23T19:01:53.000Z","dependencies_parsed_at":"2023-02-16T20:46:24.901Z","dependency_job_id":"088b57c7-5ead-4e8a-875a-b25153f4c04c","html_url":"https://github.com/outscraper/outscraper-php","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":0.4,"last_synced_commit":"b856a4f15e4228c57af87a6811149aa50ca1ca17"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/outscraper%2Foutscraper-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/outscraper","download_url":"https://codeload.github.com/outscraper/outscraper-php/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244066188,"owners_count":20392406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google-api","google-maps-api","google-maps-scraping","google-rating-api","google-reviews-api","google-scraping","google-serp-api","php","scraper","scraping","scraping-python","scraping-websites","serp-api"],"created_at":"2024-12-22T06:14:22.771Z","updated_at":"2026-01-29T09:32:52.629Z","avatar_url":"https://github.com/outscraper.png","language":"PHP","readme":"# Outscraper PHP Library\n\nThe library provides convenient access to the [Outscraper API](https://app.outscraper.com/api-docs) from applications written in the PHP language. Allows using [Outscraper's services](https://outscraper.com/services/) from your code.\n\n[API Docs](https://app.outscraper.com/api-docs)\n\n![screencast](https://media.giphy.com/media/v1.Y2lkPTc5MGI3NjExMzU0YjRjY2UyMDMxZDllNjNiMTE0MTg3MWIxYmEzODhmYjYyZjNjYiZjdD1n/Ah78imt8G2mSGAfqPm/giphy.gif)\n\n## Installation\n\n### Composer\n\nYou can install the bindings via [Composer](http://getcomposer.org/). Run the following command:\n\n```bash\ncomposer require outscraper/outscraper\n```\n\nTo use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):\n\n```php\nrequire_once('vendor/autoload.php');\n```\n\n### Manual Installation\n\nIf you do not wish to use Composer, you can download the [latest release](https://github.com/outscraper/outscraper-php/releases). Then, to use the bindings, include the `init.php` file.\n\n```php\nrequire_once('/path/to/outscraper-php/init.php');\n```\n[Link to the PHP package page](https://packagist.org/packages/outscraper/outscraper)\n\n## Initialization\n```php\n$client = new OutscraperClient(\"SECRET_API_KEY\");\n```\n[Link to the profile page to create the API key](https://app.outscraper.com/profile)\n\n## Google Maps Scraper\n\nScrape Google Mpas results bu query \"asian restaurants Berlin, Germany\".\n\n```php\n$results = $client-\u003egoogle_maps_search(['asian restaurants Berlin, Germany'], 'en', 'DE');\n\nprint_r($results);\n```\n\n## Google Maps Reviews Scraper\n\nScrape Google Mpas reviews from Statue of Liberty National Monument.\n```php\n$results = $client-\u003egoogle_maps_reviews([\n    'https://www.google.com/maps/place/Statue+of+Liberty+National+Monument/@40.6892494,-74.0466891,17z/data=!3m1!4b1!4m5!3m4!1s0x89c25090129c363d:0x40c6a5770d25022b!8m2!3d40.6892494!4d-74.0445004'\n], limit: 10, sort: 'newest');\n// you can use direct links, IDs, or names as input for query\n\nprint_r($results);\n```\n\nScrape Emails \u0026 Contacts from domains.\n```php\n$results = $client-\u003eemails_and_contacts([\n    'outscraper.com'\n]);\n\nprint_r($results);\n```\n\n[More examples](https://github.com/outscraper/outscraper-php/tree/master/examples)\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/outscraper/outscraper-php.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foutscraper%2Foutscraper-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foutscraper%2Foutscraper-php/lists"}