PHPackages                             ceive/data-attribute-locator - 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. ceive/data-attribute-locator

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

ceive/data-attribute-locator
============================

Attribute locator by string path and syntax

07PHP

Since Apr 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Ceive/data-attribute-locator)[ Packagist](https://packagist.org/packages/ceive/data-attribute-locator)[ RSS](/packages/ceive-data-attribute-locator/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Ceive.Data.AttributeLocator
===========================

[](#ceivedataattributelocator)

Path Locator - Локатор пути - Это специальное средство, который на основе переданного пути (путь через вложенности объектов данных), производит его прохождение , тем самым достигая конечного ключа и в итоге получая значение из реальной вложенной структуры данных, находящегося в указанном пути.

Example paths:

```
{user.profile.name}
{user.profile.contacts:first}

```

В дополнение:

locator.behaviour.setPatternDefaultValue('user.firstname', 'DEFAULT\_VALUE', PATH\_REMAINS);

locator.behaviour.setPathDefaultValue('user.firstname', 'DEFAULT\_VALUE'); locator.behaviour.setClassMemberDefaultValue('App\\Model\\User', 'username', 'DEFAULT\_VALUE'); locator.behaviour.setClassRelativeDefaultValue('App\\Model\\User', 'profile.firstName', 'DEFAULT\_VALUE');

locator.behaviour.setPatternFilter('user.firstname', function($value){return $value}, PATH\_REMAINS);

locator.behaviour.setPathFilter('user.firstname', function($value){return $value}); locator.behaviour.setClassMemberFilter('App\\Model\\User', 'username', function($value){return $value}); locator.behaviour.setClassRelativeFilter('App\\Model\\User', 'profile.firstName', function($value){return $value});

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/31261848?v=4)[Ceive Foundation](/maintainers/Ceive)[@Ceive](https://github.com/Ceive)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ceive-data-attribute-locator/health.svg)

```
[![Health](https://phpackages.com/badges/ceive-data-attribute-locator/health.svg)](https://phpackages.com/packages/ceive-data-attribute-locator)
```

###  Alternatives

[dunglas/php-torcontrol

Tor control library

875.3k1](/packages/dunglas-php-torcontrol)[bigecko/laravel-theme

Simple theme manager for Laravel 4.

307.0k](/packages/bigecko-laravel-theme)

PHPackages © 2026

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