{"id":20493950,"url":"https://github.com/willtpwise/google-sign-in-php","last_synced_at":"2026-06-19T06:32:08.069Z","repository":{"id":87789218,"uuid":"99622337","full_name":"willtpwise/google-sign-in-php","owner":"willtpwise","description":"Backend PHP authentication for Google Sign In","archived":false,"fork":false,"pushed_at":"2017-08-07T23:33:08.000Z","size":3671,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-10T21:38:46.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/willtpwise.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":"2017-08-07T21:32:52.000Z","updated_at":"2022-01-09T14:39:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"2efcd1bc-9172-4ebc-b61f-e8bea605dbe1","html_url":"https://github.com/willtpwise/google-sign-in-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willtpwise/google-sign-in-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willtpwise%2Fgoogle-sign-in-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willtpwise%2Fgoogle-sign-in-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willtpwise%2Fgoogle-sign-in-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willtpwise%2Fgoogle-sign-in-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willtpwise","download_url":"https://codeload.github.com/willtpwise/google-sign-in-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willtpwise%2Fgoogle-sign-in-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34520431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-19T02:00:06.005Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-15T17:37:39.049Z","updated_at":"2026-06-19T06:32:08.053Z","avatar_url":"https://github.com/willtpwise.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Sign In (PHP Backend)\n\nAuthenticate a Google Sign In token on the backend with PHP. The authenticator\nwill validate the user's Google ID Token.\n\n## Install\n```shell\n$ php bin/composer install\n```\n\n## Usage\nMake an HTTPS Post request to `data/example.php` and pass a Google Sign In token\nas `token`\n```javascript\nvar xhr = new XMLHttpRequest();\nxhr.open('POST', 'https://yourbackend.example.com/data/example.php');\nxhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');\nxhr.onload = function() {\n  console.log(JSON.parse(xhr.responseText));\n};\nxhr.send('token=' + id_token);\n```\n\n## Returns\nThe authenticator will return your content, or a JSON object on error / failure\n\nOn error / failure, the JSON object will look like so:\n```json\n{\n  \"status\": false,\n  \"body\": \"\u003cError description\u003e\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilltpwise%2Fgoogle-sign-in-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilltpwise%2Fgoogle-sign-in-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilltpwise%2Fgoogle-sign-in-php/lists"}