PHPackages                             dykyi-roman/vault-client - 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. dykyi-roman/vault-client

ActiveLibrary

dykyi-roman/vault-client
========================

Vault Client

v1.2(8y ago)1221MITPHPPHP &gt;=5.6

Since Nov 23Pushed 8y agoCompare

[ Source](https://github.com/dykyi-roman/vault-client)[ Packagist](https://packagist.org/packages/dykyi-roman/vault-client)[ Docs](https://github.com/dykyi-roman)[ RSS](/packages/dykyi-roman-vault-client/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (10)Versions (5)Used By (0)

Vault Server
============

[](#vault-server)

How to run vault server on the Docker read [here](https://github.com/neb0t/docker_vault). Author: [neb0t](https://www.linkedin.com/in/neb0t)

Vault Client
============

[](#vault-client)

Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log.

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

[](#documentation)

All documentation is available on the [Vault website](https://www.vaultproject.io).

Cache system
------------

[](#cache-system)

[Stash](http://www.stashphp.com/index.html) - a package was used for cache data. Stash makes it easy to speed up your code by caching the results of expensive functions or code.

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

[](#installation)

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run

```
composer require dykyi-roman/vault-client

```

or add

```
"dykyi-roman/vault-client": "^1.2"

```

to the require section of your `composer.json`

Usage
-----

[](#usage)

1. Make sure to update your /.env file with your app ID &amp; secret.

```
VAULT_ROOT_TOKEN_ID=5HNcw7sdf1CcafOFflUes6VOdjPaIJJEDs
VAULT_HOST=http://your-website.com/

```

2. Or use function `setOptions()`

Example
-------

[](#example)

```
require_once '../vendor/autoload.php';

use Dykyi\VaultClient;
use Dykyi\ResponseDataExtractor;
use GuzzleHttp\Client;

$dotenv = new \Dotenv\Dotenv(__DIR__);
$dotenv->load();

$client = new VaultClient(new Client(), new ResponseDataExtractor());
if ($client->init()) {
    $client->write('db', ['user' => 'password']);
    $client->read('db');

    $client->update('db', ['user' => 'new_password']);
    $client->read('db');

    $client->delete('db');
}

```

Available environment
---------------------

[](#available-environment)

- DEV - `/v1/secret/dev/`
- PROD - `/v1/secret/prod/`
- TEST - `/v1/secret/test/`

Author
------

[](#author)

[Dykyi Roman](https://www.linkedin.com/in/roman-dykyi-43428543/), e-mail:

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

Total

3

Last Release

3089d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5338cd2352194c8a305853a69f338b4549b4b6c6beb159b26684392c205ddb24?d=identicon)[dikiy-roman](/maintainers/dikiy-roman)

---

Top Contributors

[![dykyi-roman](https://avatars.githubusercontent.com/u/29334048?v=4)](https://github.com/dykyi-roman "dykyi-roman (6 commits)")

---

Tags

clientvault

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dykyi-roman-vault-client/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69333.0M114](/packages/algolia-algoliasearch-client-php)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[opensearch-project/opensearch-php

PHP Client for OpenSearch

15024.3M65](/packages/opensearch-project-opensearch-php)

PHPackages © 2026

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