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. google/identity-toolkit-php-client

AbandonedArchivedLibrary

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 today

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 86% 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

3755d 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

[spatie/laravel-google-calendar

Manage events on a Google Calendar

1.4k1.5M18](/packages/spatie-laravel-google-calendar)[revolution/laravel-google-sheets

Google Sheets API v4

4493.0M4](/packages/revolution-laravel-google-sheets)[nao-pon/flysystem-google-drive

Flysystem adapter for Google Drive

3672.0M19](/packages/nao-pon-flysystem-google-drive)[pulkitjalan/google-apiclient

Google api php client wrapper with Cloud Platform and Laravel support

2642.9M3](/packages/pulkitjalan-google-apiclient)[masbug/flysystem-google-drive-ext

Flysystem adapter for Google Drive with seamless virtual&lt;=&gt;display path translation

2611.6M13](/packages/masbug-flysystem-google-drive-ext)[spotonlive/php-google-my-business

Google MyBusiness

31665.8k](/packages/spotonlive-php-google-my-business)

PHPackages © 2026

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