PHPackages                             fedyak/php-yc-iamtoken - 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. fedyak/php-yc-iamtoken

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

fedyak/php-yc-iamtoken
======================

IAM-token for a Yandex Cloud service account

1.1(4y ago)165MITPHPPHP ^7.4|^8.0

Since Aug 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/fedyak/php-yc-iamtoken)[ Packagist](https://packagist.org/packages/fedyak/php-yc-iamtoken)[ RSS](/packages/fedyak-php-yc-iamtoken/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (0)

IAM-token for a Yandex Cloud service account
============================================

[](#iam-token-for-a-yandex-cloud-service-account)

Getting an IAM token for a Yandex Cloud service account

Install
-------

[](#install)

`composer require fedyak/php-yc-iamtoken`

Example
-------

[](#example)

```
// Service Account ID
$service_account_id = '....';

// Service Account Key ID
$key_id             = '....';

$rsa_private_key = file_get_contents('private.pem');

$iam = new ServiceAccountIAMToken($service_account_id, $key_id, $rsa_private_key);

//$jwt = $iam->getJWT();        //JSON Web Token

$iam_token = $iam->getIAMToken();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~344 days

Total

2

Last Release

1739d ago

PHP version history (2 changes)1.0PHP ^7.0

1.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed9d94b7226808ee93f72ef167f9190018d6a783652436b05a02ee9b7a2100?d=identicon)[fedyak](/maintainers/fedyak)

---

Top Contributors

[![fedyak](https://avatars.githubusercontent.com/u/3303750?v=4)](https://github.com/fedyak "fedyak (3 commits)")

### Embed Badge

![Health badge](/badges/fedyak-php-yc-iamtoken/health.svg)

```
[![Health](https://phpackages.com/badges/fedyak-php-yc-iamtoken/health.svg)](https://phpackages.com/packages/fedyak-php-yc-iamtoken)
```

###  Alternatives

[jumbojett/openid-connect-php

Bare-bones OpenID Connect client

7169.8M38](/packages/jumbojett-openid-connect-php)[azimolabs/apple-sign-in-php-sdk

Library to verify and validate Apple IdentityToken and authenticate a user with Apple ID.

92463.9k](/packages/azimolabs-apple-sign-in-php-sdk)[strobotti/php-jwk

A small PHP library to handle JWKs (Json Web Keys)

24880.8k7](/packages/strobotti-php-jwk)[clerkinc/backend-php

2755.0k](/packages/clerkinc-backend-php)[jakub-onderka/openid-connect-php

Bare-bones OpenID Connect client

1151.4k](/packages/jakub-onderka-openid-connect-php)[laranex/laravel-biometric-auth

A laravel package to provide asymmetric biometric authentication

106.0k](/packages/laranex-laravel-biometric-auth)

PHPackages © 2026

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