PHPackages                             jeyroik/extas-repositories-fields-sha1 - 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. jeyroik/extas-repositories-fields-sha1

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

jeyroik/extas-repositories-fields-sha1
======================================

Sha1 fields support for extas

0.1.0(6y ago)01.2k1PHPCI failing

Since Apr 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jeyroik/extas-repositories-fields-sha1)[ Packagist](https://packagist.org/packages/jeyroik/extas-repositories-fields-sha1)[ RSS](/packages/jeyroik-extas-repositories-fields-sha1/feed)WikiDiscussions master Synced yesterday

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

[![tests](https://github.com/jeyroik/extas-repositories-fields-sha1/workflows/PHP%20Composer/badge.svg?branch=master&event=push)](https://github.com/jeyroik/extas-repositories-fields-sha1/workflows/PHP%20Composer/badge.svg?branch=master&event=push)[![codecov.io](https://camo.githubusercontent.com/ddc00c201e96fdd844420ab373f15a22ea25d818d9b1a45a6f106954d192e081/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f65787461732d7265706f7369746f726965732d6669656c64732d736861312f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/ddc00c201e96fdd844420ab373f15a22ea25d818d9b1a45a6f106954d192e081/68747470733a2f2f636f6465636f762e696f2f67682f6a6579726f696b2f65787461732d7265706f7369746f726965732d6669656c64732d736861312f636f7665726167652e7376673f6272616e63683d6d6173746572)

Описание
========

[](#описание)

Адаптор для полей, позволяет автоматически шифровать значение с помощью `sha1`.

Данный адаптор разумно использовать для данных, которые поставляются вместе с пакетом и при установке должны зашироваться.

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

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

1. Подключаем плагин + указываем маркер

В `extas.json`:

```
{
    "plugins": [
        {
            "class": "extas\\components\\plugins\\repositories\\PluginFieldSha1",
            "stage": "extas..create.before"
        }
    ],
    "my": [
        {
            "name": "test",
            "value": "@sha1(admin)"
        }
    ]
}
```

2. Проверяем

```
$item = $myRepo->one(['name' => 'test']);

echo $item->getValue(); // d033e22ae348aeb5660fc2140aec35850c4da997
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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

2224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2aaec5c4bade6ab2b5d1a0f7d97ab4e0ff2ce83937f76499b2888ad16cde5e04?d=identicon)[jeyroik](/maintainers/jeyroik)

---

Top Contributors

[![jeyroik](https://avatars.githubusercontent.com/u/6348124?v=4)](https://github.com/jeyroik "jeyroik (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jeyroik-extas-repositories-fields-sha1/health.svg)

```
[![Health](https://phpackages.com/badges/jeyroik-extas-repositories-fields-sha1/health.svg)](https://phpackages.com/packages/jeyroik-extas-repositories-fields-sha1)
```

###  Alternatives

[h5p/h5p-core

H5P Core functionality in PHP

1401.5M32](/packages/h5p-h5p-core)

PHPackages © 2026

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