PHPackages                             teapodlibs/secrets - 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. teapodlibs/secrets

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

teapodlibs/secrets
==================

Secrets.json reader lib

1.0.0(5mo ago)0142BSD-3-ClausePHPPHP &gt;=8.4

Since Jan 20Pushed 5mo agoCompare

[ Source](https://github.com/teapodlibs/secrets)[ Packagist](https://packagist.org/packages/teapodlibs/secrets)[ Docs](https://teapodsoft.ru/)[ RSS](/packages/teapodlibs-secrets/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (8)Versions (2)Used By (2)

Secrets
=======

[](#secrets)

Требования
----------

[](#требования)

- PHP 8.4 или выше.

Установка
---------

[](#установка)

Компонент может быть установлен через [Composer](https://getcomposer.org):

```
composer require teapodlibs/secrets
```

Использование
=============

[](#использование)

```
// Получить параметр из блока github
$url = \Teapodsoft\Secrets::get('URL', 'localhost', 'github');

// Получить параметр из блока data
$test = \Teapodsoft\Secrets::get('SOME_STRING', 'default string');
$newTest = \Teapodsoft\Secrets::get('SOME_STRING')
```

Документация
============

[](#документация)

- [Internals](docs/internals.md)

Лицензия
========

[](#лицензия)

Пакет Secrets используется в публичном пространстве и может быть модифицирован или использован в комерческих целях по лицензии от BSD Licence.

Поддерживается командой [TeapodSoft](https://github.com/teapodsoft)

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance71

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

164d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/98414513?v=4)[Yury Pavlushchenko](/maintainers/bifikdev)[@bifikdev](https://github.com/bifikdev)

---

Top Contributors

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

---

Tags

libssecretsteapodsoft

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/teapodlibs-secrets/health.svg)

```
[![Health](https://phpackages.com/badges/teapodlibs-secrets/health.svg)](https://phpackages.com/packages/teapodlibs-secrets)
```

PHPackages © 2026

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