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)167MITPHPPHP ^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 3w ago

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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

1789d ago

PHP version history (2 changes)1.0PHP ^7.0

1.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3303750?v=4)[Fedor K.](/maintainers/fedyak)[@fedyak](https://github.com/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

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M874](/packages/laravel-socialite)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k41](/packages/civicrm-civicrm-core)[drenso/symfony-oidc-bundle

OpenID connect bundle for Symfony

95753.5k3](/packages/drenso-symfony-oidc-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M568](/packages/shopware-core)[clerkinc/backend-php

3493.3k](/packages/clerkinc-backend-php)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9067.8k](/packages/n1ebieski-ksef-php-client)

PHPackages © 2026

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