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

Maturity20

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

[djoudi/laravel-h5p

H5P Plugin for Laravel platform - Updated for Laravel 12

221.6k](/packages/djoudi-laravel-h5p)

PHPackages © 2026

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