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

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

gvillela7/laravel-vault
=======================

Package with simple methods for vault integration

226PHP

Since Oct 8Pushed 2y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-vault
=============

[](#laravel-vault)

Description
-----------

[](#description)

simple package to get information saved in HashiCorp Vault. We need a user created in the vault using the user/pass authentication method and enabling secret engine kv. We need a policy for the created user

```
path "secret/*" {
 capabilities = ["create", "update", "read", "list"]
 }

```

Install
-------

[](#install)

```
composer require gvillela7/laravel-vault

php artisan vendor:publish --tag=vault-config

```

Simple usage
------------

[](#simple-usage)

### unseal vaul

[](#unseal-vaul)

One or more comma-separated keys

```
php artisan vault:unseal key1,key2

```

Set key in vault

```
$authVault = new AuthVault();
$auth = $authVault->login();
$token = $auth->client_token;

Vault::setKey($token, 'API_KEY', '0000000000', 'secret/data/github');

```

Get key saved in vault

```
$authVault = new AuthVault();
$auth = $authVault->login();
$token = $auth->client_token;

$data = Vault::getKey('secret/data/github', $token);
$data->data->API_KEY; // "0000000000"

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/62402b4e9a3decf81e31c17ab1af1f8731db9aa7f3c71b617f66784b3379ea88?d=identicon)[gvillela7](/maintainers/gvillela7)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[wire-elements/modal

Laravel Livewire modal component

1.2k3.8M31](/packages/wire-elements-modal)[nette/component-model

⚛ Nette Component Model

28516.5M92](/packages/nette-component-model)[kartik-v/yii2-widget-timepicker

Enhanced Yii2 wrapper for the bootstrap timepicker plugin (sub repo split from yii2-widgets)

404.9M14](/packages/kartik-v-yii2-widget-timepicker)[blakewilson/wp-enforce-semver

A class to enforce SemVer in your WordPress plugins.

1114.8k](/packages/blakewilson-wp-enforce-semver)[brlabrussia/parallel-stub

Provide parallel PHP extension stub

115.9k1](/packages/brlabrussia-parallel-stub)

PHPackages © 2026

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