csharpru / vault-php
Best Vault client for PHP that you can find
Installs: 7 428 848
Dependents: 6
Suggesters: 1
Security: 0
Stars: 78
Watchers: 6
Forks: 34
Open Issues: 5
Requires
- php: ^7.2 || ^8.0
- ext-json: *
- aws/aws-sdk-php: ^3.0
- psr/cache: ^1.0|^2.0|^3.0
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
- psr/log: ^1.0|^2.0|^3.0
Requires (Dev)
- alextartan/guzzle-psr18-adapter: ^1.2 || ^2.0
- cache/array-adapter: ^1.0
- codeception/codeception: ^4.1
- codeception/module-asserts: ^1.3
- laminas/laminas-diactoros: ^2.3
- php-vcr/php-vcr: ^1.5
- symfony/event-dispatcher: <5.0
Suggests
- cache/array-adapter: For usage with CachedClient class
README
This is a PHP client for Vault - a tool for managing secrets.
Features
- Supports different authentication backends with token caching and re-authentication.
- Different transports for different PHP versions.
Installing / Getting started
Simply run this command within your directory with composer.json.
composer require csharpru/vault-php
Documentation
Latest documentation is available here: http://vault-php.readthedocs.io/en/latest/
Developing
If you want to contribute, execute following shell commands:
git clone https://github.com/CSharpRU/vault-php.git
cd vault-php/
composer install
Now you're ready to write tests and code.
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Little hints for new contributors:
- This repository follows gitflow and semver.
- Please follow PSR and other good coding standards.
Licensing
The code in this project is licensed under MIT license.