jeyroik/extas-secrets

此包的最新版本(2.2.1)没有可用的许可证信息。

extas 的秘密机制

2.2.1 2023-07-16 09:17 UTC

This package is auto-updated.

Last update: 2024-09-16 12:03:25 UTC


README

tests codecov.io PHPStan Enabled Latest Stable Version Total Downloads Dependents

extas-secrets

为 Extas'a 提供包装,以便处理秘密。

使用方法

$secret = $this->secrets()->one([...]);
$decrypted = $secret->decrypt();

if ($decrypted) {
    print_r($secret->getValue());
}