{"id":19398052,"url":"https://github.com/piedweb/google","last_synced_at":"2026-03-04T08:31:52.379Z","repository":{"id":57041403,"uuid":"462756635","full_name":"PiedWeb/google","owner":"PiedWeb","description":"Google Puppeteer in PHP","archived":false,"fork":false,"pushed_at":"2024-10-10T08:54:54.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-10T10:29:40.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dev.piedweb.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PiedWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-23T13:55:47.000Z","updated_at":"2024-10-10T08:54:56.000Z","dependencies_parsed_at":"2023-12-29T21:52:43.293Z","dependency_job_id":"b8f319b2-c4ae-4b22-8035-f55998f917f3","html_url":"https://github.com/PiedWeb/google","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.24137931034482762","last_synced_commit":"1b7ce42284bbfcc12ac5ee36ed1cc71a80a292a6"},"previous_names":[],"tags_count":67,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fgoogle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fgoogle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fgoogle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PiedWeb%2Fgoogle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PiedWeb","download_url":"https://codeload.github.com/PiedWeb/google/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223942715,"owners_count":17229112,"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":[],"created_at":"2024-11-10T11:04:46.479Z","updated_at":"2026-03-04T08:31:52.341Z","avatar_url":"https://github.com/PiedWeb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google (unofficial) API via PHP\n\n[![Latest Version](https://img.shields.io/github/tag/PiedWeb/PiedWeb.svg?style=flat\u0026label=release)](https://github.com/PiedWeb/PiedWeb/tags)\n[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/PiedWeb/PiedWeb/run-tests.yml?branch=main)](https://github.com/PiedWeb/PiedWeb/actions)\n[![Quality Score](https://img.shields.io/scrutinizer/g/PiedWeb/PiedWeb.svg?style=flat)](https://scrutinizer-ci.com/g/PiedWeb/PiedWeb)\n[![Code Coverage](https://codecov.io/gh/PiedWeb/PiedWeb/branch/main/graph/badge.svg)](https://codecov.io/gh/PiedWeb/PiedWeb/branch/main)\n[![Type Coverage](https://shepherd.dev/github/PiedWeb/PiedWeb/coverage.svg)](https://shepherd.dev/github/PiedWeb/PiedWeb)\n[![Total Downloads](https://img.shields.io/packagist/dt/piedweb/google.svg?style=flat)](https://packagist.org/packages/piedweb/google)\n\nVia Curl or Puppeteer. This lib offers for now :\n\n- SERP extraction\n- Suggests\n- _Trends_ dropped\n\n## Requirements\n\n- node (tested with v20)\n- [puppeteer](package.json) (tested with v23) `npm install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth`\n- php ^8.3\n- `composer require piedweb/google`\n\n## Google\n\nStill no docs, see [tests/\\*](tests/) :\n\n## Fix TroubleShoot\n\n```\nFailed to launch the browser process!\n  [57007:57007:1010/104537.301500:FATAL:zygote_host_impl_linux.cc(128)] No usable sandbox! If you are running o n Ubuntu 23.10+ or another Linux distro that has disabled unprivileged user namespaces with AppArmor, see https://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md. Otherwise seehttps://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md for more information on developing with the (older) SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.\n\n  TROUBLESHOOTING: https://pptr.dev/troubleshooting\n```\n\nSince Ubuntu 23 (same with Ubuntu 24), it's not possible to directly use the chrome version downloaded by _puppeteer_ on package installation.\n\nWorkaround are details here :\nhttps://chromium.googlesource.com/chromium/src/+/main/docs/security/apparmor-userns-restrictions.md\n\nIt's also possible to use an ever installed Chrome on your OS by defining _env_ variable **CHROME_BIN**.\n\n### Contributors\n\n- [Pied Web](https://piedweb.com)\n\n## See Also\n\n- [PyTrends](https://github.com/GeneralMills/pytrends)\n- [JsTrends](https://github.com/pat310/google-trends-ap)\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://dev.piedweb.com\" rel=\"dofollow\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/Pushword/Pushword/f5021f4c5d5d3ab3f2858ec2e4bdd70818806c6a/packages/admin/src/Resources/assets/logo.svg\" width=\"200\" height=\"200\" alt=\"PHP Packages Open Source\" /\u003e\n\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Fgoogle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiedweb%2Fgoogle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiedweb%2Fgoogle/lists"}