PHPackages                             bigdropinc/yii2-find-by-attribute - 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. [Database &amp; ORM](/categories/database)
4. /
5. bigdropinc/yii2-find-by-attribute

ActiveYii2-extension[Database &amp; ORM](/categories/database)

bigdropinc/yii2-find-by-attribute
=================================

Allowed to use magic methods for finding active records by attributes

v0.2(8y ago)08BSD-3-ClausePHP

Since May 16Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bigdropinc/yii2_find_by_attribute)[ Packagist](https://packagist.org/packages/bigdropinc/yii2-find-by-attribute)[ RSS](/packages/bigdropinc-yii2-find-by-attribute/feed)WikiDiscussions master Synced 1mo ago

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

Find By Attribute
=================

[](#find-by-attribute)

Allowed to use magic methods for finding active records by attributes

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist bigdropinc/yii2-find-by-attribute "*"

```

or add

```
"bigdropinc/yii2-find-by-attribute": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Add into your base Active Record method like this

```
use bigdropinc\db\FindByAttribute

public static function __callStatic($name, $arguments)
    {
        if(static::isFindByCanProcess($name)){
            return static::processFindBy($name, $arguments);
        }
    }

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

2

Last Release

3284d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0d934f4d5874afae8503f2410f755f5a005a1dea7f55b123342a1e855a71658?d=identicon)[tv88dn](/maintainers/tv88dn)

---

Top Contributors

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

---

Tags

yii2extensionactiverecordfindattribute

### Embed Badge

![Health badge](/badges/bigdropinc-yii2-find-by-attribute/health.svg)

```
[![Health](https://phpackages.com/badges/bigdropinc-yii2-find-by-attribute/health.svg)](https://phpackages.com/packages/bigdropinc-yii2-find-by-attribute)
```

###  Alternatives

[nhkey/yii2-activerecord-history

Storage history of changes to ActiveRecord

46143.4k1](/packages/nhkey-yii2-activerecord-history)[dmstr/yii2-db

Database extensions

19618.8k6](/packages/dmstr-yii2-db)

PHPackages © 2026

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