PHPackages                             codenamephp/platform.secretsmanager.googlesecretsmanager - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codenamephp/platform.secretsmanager.googlesecretsmanager

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

codenamephp/platform.secretsmanager.googlesecretsmanager
========================================================

1.0.0(3y ago)0543[1 PRs](https://github.com/codenamephp/platform.secretsManager.googleSecretsManager/pulls)Apache-2.0PHPPHP ^8.1CI passing

Since Mar 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/codenamephp/platform.secretsManager.googleSecretsManager)[ Packagist](https://packagist.org/packages/codenamephp/platform.secretsmanager.googlesecretsmanager)[ RSS](/packages/codenamephp-platformsecretsmanagergooglesecretsmanager/feed)WikiDiscussions release Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

platform.secretsManager.googleSecretsManager
============================================

[](#platformsecretsmanagergooglesecretsmanager)

[![Packagist Version](https://camo.githubusercontent.com/4920a4ab26e59200bfef2bc5a30496089fdd8855510754109136bdaab8b456af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/4920a4ab26e59200bfef2bc5a30496089fdd8855510754109136bdaab8b456af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)[![Packagist PHP Version Support](https://camo.githubusercontent.com/706b4d1233b6baf38fbf92567483bb4ef29b1ba9e12485d8736f9579d811b731/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/706b4d1233b6baf38fbf92567483bb4ef29b1ba9e12485d8736f9579d811b731/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)[![Lines of code](https://camo.githubusercontent.com/7ecd4affdc189388dde0f03eee1ebdd8ea8e2421ccf9670be9aff0b16c8a3cca/68747470733a2f2f696d672e736869656c64732e696f2f746f6b65692f6c696e65732f6769746875622f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/7ecd4affdc189388dde0f03eee1ebdd8ea8e2421ccf9670be9aff0b16c8a3cca/68747470733a2f2f696d672e736869656c64732e696f2f746f6b65692f6c696e65732f6769746875622f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)[![GitHub code size in bytes](https://camo.githubusercontent.com/8582805db126e500ee3d9ec1d55674284eb0a68738ce2ed896851142ba9c64d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/8582805db126e500ee3d9ec1d55674284eb0a68738ce2ed896851142ba9c64d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)[![CI](https://github.com/codenamephp/platform.secretsManager.googleSecretsManager/workflows/CI/badge.svg)](https://github.com/codenamephp/platform.secretsManager.googleSecretsManager/workflows/CI/badge.svg)[![Packagist Downloads](https://camo.githubusercontent.com/00e56c012d4ea50719017ad6709bc49f3d908f06c54403c095be15581e025617/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/00e56c012d4ea50719017ad6709bc49f3d908f06c54403c095be15581e025617/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)[![GitHub](https://camo.githubusercontent.com/d529d739587a0b19ac4a9f1b9df38ffcfb61e7e172cf798b675b014c95af53ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)](https://camo.githubusercontent.com/d529d739587a0b19ac4a9f1b9df38ffcfb61e7e172cf798b675b014c95af53ac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f636f64656e616d657068702f706c6174666f726d2e736563726574734d616e616765722e676f6f676c65536563726574734d616e61676572)

Installation
------------

[](#installation)

Easiest way is via composer. Just run `composer require codenamephp/platform.secretsManager.googleSecretsManager` in your cli which should install the latest version for you.

Usage
-----

[](#usage)

Just create a client using the factory and start fetching secrets. Note that you need to have a google authentication setup. Since we just use the google client by default the instructions from Google apply:

You can also pass the path to the credentials file to the factory if you so prefer. Whatever string you pass to the factory is just passed on to the google client so it can do its thing. So check the google doc for details.

```
use de\codenamephp\platform\secretsManager\googleSecretsManager\Client\Factory\WithGoogleSecretsManagerClient;

$client = (new WithGoogleSecretsManagerClient())->build();
$client = (new WithGoogleSecretsManagerClient())->build('/path/to/credentials.json');

// payload is fetched as string
$payload = $client->fetchPayload(new \de\codenamephp\platform\secretsManager\base\Secret\Sealed('mySecret', 'myProject')); //fetch the latest version
$payload = $client->fetchPayload(new \de\codenamephp\platform\secretsManager\base\Secret\Sealed('mySecret', 'myProject', '3')); //fetch a specific version
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

1159d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6865819?v=4)[Bastian Schwarz](/maintainers/bastianschwarz)[@bastianschwarz](https://github.com/bastianschwarz)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/codenamephp-platformsecretsmanagergooglesecretsmanager/health.svg)

```
[![Health](https://phpackages.com/badges/codenamephp-platformsecretsmanagergooglesecretsmanager/health.svg)](https://phpackages.com/packages/codenamephp-platformsecretsmanagergooglesecretsmanager)
```

PHPackages © 2026

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