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

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

koshatul/vault
==============

Koshatul Vault Config Storage

v1.0.4(10y ago)21.1kMITPHPPHP &gt;=5.5

Since Apr 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Koshatul/vault)[ Packagist](https://packagist.org/packages/koshatul/vault)[ RSS](/packages/koshatul-vault/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Hashicorp Vault Class for PHP
=============================

[](#hashicorp-vault-class-for-php)

**This is unmaintained, I haven't used it in quite a while and don't have the time to update and test it properly.**

A interface for retrieving values from Hashicorp Vault in a PHP Project.

[![Build Status](https://camo.githubusercontent.com/112a40f561a72cc0325b83117e9c08d16113f045c1507d2931c51e8a8f9b6bf2/68747470733a2f2f7472617669732d63692e6f72672f4b6f73686174756c2f7661756c742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Koshatul/vault)[![Latest Stable Version](https://camo.githubusercontent.com/edc3f30e799b75c5b5c908ce970a02dfa821a884962837f5f164424ad35b197e/68747470733a2f2f706f7365722e707567782e6f72672f6b6f73686174756c2f7661756c742f762f737461626c65)](https://packagist.org/packages/koshatul/vault)[![Total Downloads](https://camo.githubusercontent.com/6cb0a4b111a474422c5d98010e5614c2e28e1873ec4e6b985de2646fcafddeb5/68747470733a2f2f706f7365722e707567782e6f72672f6b6f73686174756c2f7661756c742f646f776e6c6f616473)](https://packagist.org/packages/koshatul/vault)[![Latest Unstable Version](https://camo.githubusercontent.com/361b86647a85ef2ad8a742492f818c5d9d230831d0957acdc5c9bdacf3e8e068/68747470733a2f2f706f7365722e707567782e6f72672f6b6f73686174756c2f7661756c742f762f756e737461626c65)](https://packagist.org/packages/koshatul/vault)[![License](https://camo.githubusercontent.com/aee3a1e43de8d6c280619ef27ea873185c5420f7a5a2ac5900e5d97c9787cedc/68747470733a2f2f706f7365722e707567782e6f72672f6b6f73686174756c2f7661756c742f6c6963656e7365)](https://packagist.org/packages/koshatul/vault)

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

[](#installation)

Use [Composer](http://getcomposer.org/) to install the package:

Add the following to your `composer.json` and run `composer update`.

```
"require": {
    "koshatul/vault": "~1.0"
}
```

Usage
-----

[](#usage)

You can use this package to get configuration from a global or specific configuration store.

```
use Koshatul\Vault\Vault;
use Koshatul\Vault\VaultURI;
use Koshatul\Vault\VaultAuthToken;

$vaultURI = new VaultURI("http://127.0.0.1:8200/v1/");
$vaultAuthToken = new VaultAuthToken("tttttttt-wwww-xxxx-yyyy-zzzzzzzzzzzz");
$vault = new Vault($vaultURI, $vaultAuthToken);

$vault->write('secret/foo' ['pear' => 'table']);

$testValue = $vault->read('secret/foo');
echo "Pear: ".$testValue->get('pear');
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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 ~0 days

Total

5

Last Release

3686d ago

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v1.0.2PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a6033594368e4dd518f3324b27be20c2b0c0da137430ad2ad4f0941b2b8ab9b?d=identicon)[Koshatul](/maintainers/Koshatul)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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