PHPackages                             csharpru/vault-php - 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. csharpru/vault-php

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

csharpru/vault-php
==================

Best Vault client for PHP that you can find

4.4.1(1y ago)8410.3M↑15.4%35[6 issues](https://github.com/CSharpRU/vault-php/issues)[4 PRs](https://github.com/CSharpRU/vault-php/pulls)4MITPHPPHP ^7.2 || ^8.0CI failing

Since Apr 10Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/CSharpRU/vault-php)[ Packagist](https://packagist.org/packages/csharpru/vault-php)[ RSS](/packages/csharpru-vault-php/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (12)Versions (35)Used By (4)

Vault PHP client [![Build Status](https://github.com/CSharpRU/vault-php/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/CSharpRU/vault-php/actions/workflows/tests.yml/badge.svg?branch=master) [![Codacy Badge](https://camo.githubusercontent.com/6fdb1539a378e90df7265469c6f808be97f6afcdc16beffeb7b6aae973a0f639/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3062663966343661363539383434363538643834376331623261623031653862)](https://www.codacy.com/app/c_sharp/vault-php?utm_source=github.com&utm_medium=referral&utm_content=CSharpRU/vault-php&utm_campaign=Badge_Coverage) [![Codacy Badge](https://camo.githubusercontent.com/34511191df29ed610f6ad8a49617d9c881817498c3dfd8ff6bc1577912cc612d/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3062663966343661363539383434363538643834376331623261623031653862)](https://www.codacy.com/app/c_sharp/vault-php?utm_source=github.com&utm_medium=referral&utm_content=CSharpRU/vault-php&utm_campaign=Badge_Grade) [![Read the Docs Badge](https://camo.githubusercontent.com/382012e3f2f465a03e877c849a02968286fe5cc07a15857f253e284d68e8cb95/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f7661756c742d7068702f62616467652f3f76657273696f6e3d6c6174657374)](http://vault-php.readthedocs.io/en/latest/)
========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#vault-php-client----)

[![example workflow](https://github.com/CSharpRU/vault-php/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/CSharpRU/vault-php/actions/workflows/tests.yml/badge.svg?branch=master)

This is a PHP client for Vault - a tool for managing secrets.

Features
--------

[](#features)

- Supports different authentication backends with token caching and re-authentication.
- Different transports for different PHP versions.

Installing / Getting started
----------------------------

[](#installing--getting-started)

Simply run this command within your directory with composer.json.

```
composer require csharpru/vault-php
```

Documentation
-------------

[](#documentation)

Latest documentation is available here:

Developing
----------

[](#developing)

If you want to contribute, execute following shell commands:

```
git clone https://github.com/CSharpRU/vault-php.git
cd vault-php/
composer install
```

Now you're ready to write tests and code.

Contributing
------------

[](#contributing)

If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.

Little hints for new contributors:

- This repository follows gitflow and semver.
- Please follow PSR and other good coding standards.

Licensing
---------

[](#licensing)

The code in this project is licensed under MIT license.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance67

Regular maintenance activity

Popularity61

Solid adoption and visibility

Community31

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 83.3% 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 ~94 days

Recently: every ~358 days

Total

32

Last Release

391d ago

Major Versions

1.0.0 → 2.0.02017-04-11

2.0.0 → 3.0.02017-04-12

3.6.0 → 4.0.02019-09-10

PHP version history (2 changes)4.0.0PHP ^7.2

4.2.1PHP ^7.2 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3fbe8ea7f5a6164a3611c54434f9e770c1d2093f19ec589d0092b1ecce65fd7?d=identicon)[CSharpRU](/maintainers/CSharpRU)

---

Top Contributors

[![CSharpRU](https://avatars.githubusercontent.com/u/640600?v=4)](https://github.com/CSharpRU "CSharpRU (95 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![besir](https://avatars.githubusercontent.com/u/2492578?v=4)](https://github.com/besir "besir (1 commits)")[![cmlara](https://avatars.githubusercontent.com/u/2461270?v=4)](https://github.com/cmlara "cmlara (1 commits)")[![gosunilgo](https://avatars.githubusercontent.com/u/10015502?v=4)](https://github.com/gosunilgo "gosunilgo (1 commits)")[![grbnshchkv](https://avatars.githubusercontent.com/u/2854877?v=4)](https://github.com/grbnshchkv "grbnshchkv (1 commits)")[![hexa2k9](https://avatars.githubusercontent.com/u/118494?v=4)](https://github.com/hexa2k9 "hexa2k9 (1 commits)")[![jimymodi](https://avatars.githubusercontent.com/u/415224?v=4)](https://github.com/jimymodi "jimymodi (1 commits)")[![marcusirgens](https://avatars.githubusercontent.com/u/8811904?v=4)](https://github.com/marcusirgens "marcusirgens (1 commits)")[![marmichalski](https://avatars.githubusercontent.com/u/57528542?v=4)](https://github.com/marmichalski "marmichalski (1 commits)")[![mkrauser](https://avatars.githubusercontent.com/u/494845?v=4)](https://github.com/mkrauser "mkrauser (1 commits)")[![qem19](https://avatars.githubusercontent.com/u/49522198?v=4)](https://github.com/qem19 "qem19 (1 commits)")[![ruleant](https://avatars.githubusercontent.com/u/1409731?v=4)](https://github.com/ruleant "ruleant (1 commits)")[![SamKtulho](https://avatars.githubusercontent.com/u/4439506?v=4)](https://github.com/SamKtulho "SamKtulho (1 commits)")[![sdrobov](https://avatars.githubusercontent.com/u/1830055?v=4)](https://github.com/sdrobov "sdrobov (1 commits)")[![settermjd](https://avatars.githubusercontent.com/u/196801?v=4)](https://github.com/settermjd "settermjd (1 commits)")[![aapokiiso](https://avatars.githubusercontent.com/u/2262772?v=4)](https://github.com/aapokiiso "aapokiiso (1 commits)")[![slitviachenko](https://avatars.githubusercontent.com/u/13107124?v=4)](https://github.com/slitviachenko "slitviachenko (1 commits)")[![babeuloula](https://avatars.githubusercontent.com/u/4849233?v=4)](https://github.com/babeuloula "babeuloula (1 commits)")

---

Tags

codacy-badgehelp-wantedphpphp-clientvaultvault-phpvaultsecretshashicorp

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/csharpru-vault-php/health.svg)

```
[![Health](https://phpackages.com/badges/csharpru-vault-php/health.svg)](https://phpackages.com/packages/csharpru-vault-php)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[civicrm/civicrm-core

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

728272.9k20](/packages/civicrm-civicrm-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[windwalker/framework

The next generation PHP framework.

25639.1k1](/packages/windwalker-framework)

PHPackages © 2026

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