PHPackages                             violuke/vault-php-sdk - 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. [API Development](/categories/api)
4. /
5. violuke/vault-php-sdk

ActiveLibrary[API Development](/categories/api)

violuke/vault-php-sdk
=====================

SDK to talk with vaultproject.io API (Guzzle 6)

1.0.2(9y ago)1325.5k↓79.5%6MITPHP

Since Apr 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/violuke/vault-php-sdk)[ Packagist](https://packagist.org/packages/violuke/vault-php-sdk)[ RSS](/packages/violuke-vault-php-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

Vault PHP SDK
=============

[](#vault-php-sdk)

This is a fork of the great [jippi/vault-php-sdk](https://github.com/jippi/vault-php-sdk) project. That project is using Guzzle 4/5 and upgrading to Guzzle 6 would cause some backwards-incompatible changes. My version of the project is is using Guzzle 6 (thanks [@stevenscg](https://github.com/jippi/vault-php-sdk/pull/3) for doing most of that work) and also has more services implemented. For now, I've only implemented those that I need, but I will do others in the future. Feel free to submit PRs. I plan to add tests in the future too.

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

[](#installation)

This library can be installed with composer:

```
composer require violuke/vault-php-sdk

```

Usage
-----

[](#usage)

The simple way to use this SDK, is to instantiate the service factory:

```
$sf = new Violuke\Vault\ServiceFactory();

```

Then, a service could be retrieve from this factory:

```
$sys = $sf->get('sys');

```

Finally, make a call on the service

```
echo 'The vault ' . ($sys->sealed() ? 'is' : 'is not') . ' sealed';

```

All services methods follow the same convention:

```
$response = $service->method($mandatoryArgument, $someOptions);

```

- All API mandatory arguments are placed as first;
- All API optional arguments are directly mapped from `$someOptions`;
- Most methods return raw guzzle response, but there are some exceptions (like `$sys->sealed()` from the example above).

Examples
--------

[](#examples)

The `examples` directory is a pure extract from [jippi](https://github.com/jippi/vault-php-sdk)'s CakePHP 3 app using the SDK - its crude, but should show the basics of the SDK

Available services
------------------

[](#available-services)

- `sys`
- `data`
- `auth/token`
- `transit`

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

3

Last Release

3348d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6420347?v=4)[Luke Cousins](/maintainers/violuke)[@violuke](https://github.com/violuke)

---

Top Contributors

[![violuke](https://avatars.githubusercontent.com/u/6420347?v=4)](https://github.com/violuke "violuke (8 commits)")[![jippi](https://avatars.githubusercontent.com/u/22841?v=4)](https://github.com/jippi "jippi (6 commits)")[![stevenscg](https://avatars.githubusercontent.com/u/176253?v=4)](https://github.com/stevenscg "stevenscg (2 commits)")[![benschw](https://avatars.githubusercontent.com/u/98852?v=4)](https://github.com/benschw "benschw (1 commits)")

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.5k5.9M737](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[keboola/storage-api-client

Keboola Storage API PHP Client

10405.9k40](/packages/keboola-storage-api-client)

PHPackages © 2026

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