PHPackages                             olegv/config - 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. olegv/config

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

olegv/config
============

Library for configuration and hiding secret data

v1.1.1(1y ago)03MITPHPPHP ^8.2CI passing

Since Mar 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/OlegVashkevich/config)[ Packagist](https://packagist.org/packages/olegv/config)[ RSS](/packages/olegv-config/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (5)Used By (0)

Config
======

[](#config)

Library for configuration and hiding secret data

Features
--------

[](#features)

- lightweight
- dependency-free
- 100% test coverage
- phpstan max lvl
- phpstan full strict rules

Install
-------

[](#install)

```
composer require olegv/config
```

Usage
-----

[](#usage)

1. Create secret file somewhere(`$path_to_secret_file`), it must return array&lt;string, string&gt;, for example: ```
