PHPackages                             google/identity-toolkit-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. google/identity-toolkit-php-client

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

google/identity-toolkit-php-client
==================================

Client library for Google Identity Toolkit APIs

1.0.8(10y ago)3823.2k↓100%21[1 issues](https://github.com/google/identity-toolkit-php-client/issues)[1 PRs](https://github.com/google/identity-toolkit-php-client/pulls)Apache-2.0PHPPHP &gt;=5.2.1

Since Oct 9Pushed 10y ago12 watchersCompare

[ Source](https://github.com/google/identity-toolkit-php-client)[ Packagist](https://packagist.org/packages/google/identity-toolkit-php-client)[ Docs](https://developers.google.com/identity-toolkit/)[ RSS](/packages/google-identity-toolkit-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

Google Identity Toolkit client library for PHP
==============================================

[](#google-identity-toolkit-client-library-for-php)

This is the PHP client library for Google Identity Toolkit services.

Example Code
------------

[](#example-code)

```
require_once __DIR__ . '/vendor/autoload.php';

$gitkitClient = Gitkit_Client::createFromFile("gitkit-server-config.json");

// ---- upload account -----
$hashKey = "\x01\x02\x03";
$gitkitClient->uploadUsers('HMAC_SHA1', $hashKey, createNewUsers($hashKey));

// --- verify gitkit token ----
$user = $gitkitClient->validateToken("eyJhb...");

// ---- get account info by user identifier ----
$user = $gitkitClient->getUserById("1234");

// ---- get a url to send to user's email address to verify ownership -----
$verificationLink = $gitkitClient->getEmailVerificationLink("1234@example.com");

// ---- download account ----
$iterator = $gitkitClient->getAllUsers(3);
while ($iterator->valid()) {
  $user = $iterator->current();
  // $user is a Gitkit_Account object
  $iterator->next();
}

// ---- delete account ----
$gitkitClient->deleteUser('1234');

function createNewUsers($hashKey) {
  $allUsers = array();

  $gitkitUser = new Gitkit_Account();
  $gitkitUser->setEmail("1234@example.com");
  $gitkitUser->setUserId("1234");
  $salt = "\05\06\07";
  $password = '1111';
  $gitkitUser->setSalt($salt);
  $gitkitUser->setPasswordHash(hash_hmac('sha1', $password . $salt, $hashKey, true));
  array_push($allUsers, $gitkitUser);

  $gitkitUser = new Gitkit_Account();
  $gitkitUser->setEmail('5678@example.com');
  $gitkitUser->setUserId('5678');
  $salt = "\15\16\17";
  $password = '5555';
  $gitkitUser->setSalt($salt);
  $gitkitUser->setPasswordHash(hash_hmac('sha1', $password . $salt, $hashKey, true));
  array_push($allUsers, $gitkitUser);

  return $allUsers;
}
```

###  Health Score

38

—

LowBetter than 84% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 53.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Recently: every ~29 days

Total

8

Last Release

3802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d0230f23b2d2cb3025289f33153c73dfec73628aec8ae1431e9cb7b6583ecb1?d=identicon)[cslink](/maintainers/cslink)

---

Top Contributors

[![liujin-google](https://avatars.githubusercontent.com/u/8702079?v=4)](https://github.com/liujin-google "liujin-google (26 commits)")[![qiqihu](https://avatars.githubusercontent.com/u/13756569?v=4)](https://github.com/qiqihu "qiqihu (7 commits)")[![cslink](https://avatars.githubusercontent.com/u/5620211?v=4)](https://github.com/cslink "cslink (7 commits)")[![wyhao31](https://avatars.githubusercontent.com/u/1921697?v=4)](https://github.com/wyhao31 "wyhao31 (6 commits)")[![naokigoogle](https://avatars.githubusercontent.com/u/5133459?v=4)](https://github.com/naokigoogle "naokigoogle (1 commits)")[![Enteee](https://avatars.githubusercontent.com/u/5493775?v=4)](https://github.com/Enteee "Enteee (1 commits)")[![redstrike](https://avatars.githubusercontent.com/u/2168227?v=4)](https://github.com/redstrike "redstrike (1 commits)")

---

Tags

gitkit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/google-identity-toolkit-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/google-identity-toolkit-php-client/health.svg)](https://phpackages.com/packages/google-identity-toolkit-php-client)
```

###  Alternatives

[alchemyguy/youtube-laravel-api

It is a wrapper over Youtube Api v3 which simplifies functionalities the laravel way.

637.3k](/packages/alchemyguy-youtube-laravel-api)[jamesedmonston/graphql-authentication

GraphQL authentication for your headless Craft CMS applications.

2917.0k](/packages/jamesedmonston-graphql-authentication)[phhung1901/google_one_tap

Login with google one tap/google popup login

2716.1k](/packages/phhung1901-google-one-tap)[happyr/google-site-authenticator-bundle

Authenticate your website (not your users) with Google API. Can be used instead as Domain-Wide Delegation of Authority

1315.2k](/packages/happyr-google-site-authenticator-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
