{"id":15145619,"url":"https://github.com/ricardomrcruz/php_google_search_console_api_client","last_synced_at":"2026-03-14T08:42:27.506Z","repository":{"id":230296276,"uuid":"779022007","full_name":"ricardomrcruz/PHP_Google_Search_Console_API_Client","owner":"ricardomrcruz","description":"Elevate your PHP applications by effortlessly integrating Google services with this Google Search Console API Client. Designed for seamless connectivity with Google APIs, it facilitates comprehensive data exchange and features an XML data parser. Dedicated mainly to Laravel, Symfony, Wordpress and Prestashop developers.","archived":false,"fork":false,"pushed_at":"2024-04-15T22:56:23.000Z","size":2051,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-10T00:41:03.591Z","etag":null,"topics":["api-client","cms-module","google-analytics","google-api-client","google-developers","google-search-api","google-search-console","laravel","php","prestashop","symfony","wordpress","xml-parser"],"latest_commit_sha":null,"homepage":"","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/ricardomrcruz.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":"2024-03-28T22:04:23.000Z","updated_at":"2024-07-08T20:38:32.000Z","dependencies_parsed_at":"2024-04-15T23:44:49.121Z","dependency_job_id":"d7c8006f-9a2f-4c4f-97a9-66cc3b663b65","html_url":"https://github.com/ricardomrcruz/PHP_Google_Search_Console_API_Client","commit_stats":null,"previous_names":["ricardomrcruz/php_google_client_api","ricardomrcruz/php_google_api_client","ricardomrcruz/php_google_search_console_api_client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomrcruz%2FPHP_Google_Search_Console_API_Client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomrcruz%2FPHP_Google_Search_Console_API_Client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomrcruz%2FPHP_Google_Search_Console_API_Client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricardomrcruz%2FPHP_Google_Search_Console_API_Client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricardomrcruz","download_url":"https://codeload.github.com/ricardomrcruz/PHP_Google_Search_Console_API_Client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867315,"owners_count":16555821,"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":["api-client","cms-module","google-analytics","google-api-client","google-developers","google-search-api","google-search-console","laravel","php","prestashop","symfony","wordpress","xml-parser"],"created_at":"2024-09-26T11:41:19.868Z","updated_at":"2025-10-24T00:31:26.180Z","avatar_url":"https://github.com/ricardomrcruz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"![googleclient_api_php.png](googleclient_api_php.png)\n\n# PHP Google Search Console API Client \u0026 XML Data Parser\n\nElevate your PHP applications by effortlessly integrating Google services with this client. Designed for easy integration with Google API services, this PHP-based Google Search Console API Client and XML data parser simplifies the incorporation of Google web services into applications. \n\nWith seamless connectivity and comprehensive data exchange capabilities, it facilitates parsing SEO data from Google Search Console into XML format, enabling straightforward cross-server access. \n\nIdeal for developers working with frameworks like Laravel, Symfony, WordPress, and PrestaShop, this versatile tool empowers users to access Google APIs with ease and obtain essential insights such as click numbers, position rankings, click-through rates, and impactful keywords for their websites and projects.\n\n## Getting Started\n\nFollow these steps to set up the script in your PHP environment, including cloning the repository and installing dependencies.\n\n### Prerequisites\n\nEnsure PHP and Composer are installed on your server and machine. These are vital for dependency management and script execution.\n\n- PHP: [Installation Guide](https://www.php.net/manual/en/install.php)\n- Composer: [Getting Started Guide](https://getcomposer.org/doc/00-intro.md)\n\n### Cloning the Repository\n\nClone the repository to your machine or server:\n\n```bash\ngit clone https://github.com/ricardomrcruz/PHP_Google_API_Client.git\ncd PHP_Google_API_Client\n```\n\n### Installing Dependencies\n\nAfter cloning, install PHP dependencies with:\n\n```bash\ncomposer require google/apiclient:^2.0\n```\n\nFor specific dependency versions, use the project's `composer.lock`:\n\n```bash\ncomposer install\n```\n\nTo update dependencies:\n\n```bash\ncomposer update\n```\n\n**Note:** Commit your `composer.lock` to version control to synchronize dependency versions across environments.\n\n### Configuring Google Client\n\nSet up your Google Client:\n\n1. Visit the [Google Developers Console](https://console.developers.google.com/).\n2. Create or select a project.\n3. Under \"Credentials\", create your project's credentials (e.g., OAuth 2.0 Client IDs).\n4. Enable necessary APIs via the \"Library\" page. Specifically, add the Google Search Console API.\n5. Configure your OAuth 2.0 Client ID credentials with appropriate domains and redirect URLs.\n6. Download the client ID JSON file and upload it to your project folder.\n7. Delete the refresh access token that comes with the repository. Enter your query URL. Confirm your Google identity and watch your new refresh token get added to the project automatically.\n\nThese additional steps ensure that your Google Client is fully configured and ready to use within your project. They also guide you through the process of handling authentication and obtaining the necessary credentials for accessing Google APIs.\n\n### API Scopes\n\nInclude the correct scopes in your authentication flow as per the [Google Identity Platform documentation](https://developers.google.com/identity/protocols/oauth2/scopes).\n\n### Additional Information\n\nFor troubleshooting, contribution guidelines, or license information, feel free to add relevant sections.\n\n---\n\n#### Developed by Ricardo Martinho 2024. Courtesy of [Strasbourg Web Solutions](https://strasbourgwebsolutions.fr) | Open Source 4 Life\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardomrcruz%2Fphp_google_search_console_api_client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricardomrcruz%2Fphp_google_search_console_api_client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricardomrcruz%2Fphp_google_search_console_api_client/lists"}