PHPackages                             xmo/mine-helpers - 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. xmo/mine-helpers

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

xmo/mine-helpers
================

MineAdmin Helpers Library

v2.0.2(9mo ago)171.2k↓58.5%1[1 issues](https://github.com/mineadmin/mine-helpers/issues)Apache-2.0PHPPHP &gt;=8.1

Since Dec 21Pushed 2w ago1 watchersCompare

[ Source](https://github.com/mineadmin/mine-helpers)[ Packagist](https://packagist.org/packages/xmo/mine-helpers)[ RSS](/packages/xmo-mine-helpers/feed)WikiDiscussions 2.0 Synced 2d ago

READMEChangelog (2)DependenciesVersions (10)Used By (0)

MineAdmin Helpers Library
=========================

[](#mineadmin-helpers-library)

FastBuilderWhere
================

[](#fastbuilderwhere)

```
use Hyperf\Database\Model\Builder;

use Mine\Helper\FastBuilderWhere as BaseBuilder;

// old
class oldDao {
    public function handleSearch(Builder $builder,array $params) {
        if (!empty($params['username'])){
            $builder->where('username',$params['username']);
        }
        if (!empty($params['user_created_at'])){
            list($startDate,$endDate) = $params['user_created_at'];
            $builder->whereBetween('created_at',[
            \Carbon\Carbon::createFromFormat('Y-m-d',$startDate)->startOfDay()->format('Y-m-d'),
            \Carbon\Carbon::createFromFormat('Y-m-d',$endDate)->startOfDay()->format('Y-m-d')
            ]);
        }
        if (!empty($params['sign_timestamp_at'])){
            list($startDate,$endDate) = $params['created_at'];
            $builder->whereBetween('created_at',[
            \Carbon\Carbon::createFromFormat('Y-m-d',$startDate)->startOfDay()->timestamp,
            \Carbon\Carbon::createFromFormat('Y-m-d',$endDate)->startOfDay()->timestamp
            ]);
        }
        return $builder;
    }
}

// new dao
class newDao {
    public function handleSearch(BaseBuilder $builder,array $params) {
        $builder->eq('username')
                ->dateRange('created_at','user_created_at')
                ->timestampsRange('created_at','sign_timestamp_at');
        return $builder;
    }
}
```

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance59

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.1% 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 ~70 days

Recently: every ~122 days

Total

10

Last Release

290d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/292931?v=4)[XMOS](/maintainers/xmos)[@xmos](https://github.com/xmos)

![](https://avatars.githubusercontent.com/u/1491884?v=4)[Jari Juslin](/maintainers/zds)[@zds](https://github.com/zds)

---

Top Contributors

[![zds-s](https://avatars.githubusercontent.com/u/49744633?v=4)](https://github.com/zds-s "zds-s (27 commits)")[![BadJacky](https://avatars.githubusercontent.com/u/113529280?v=4)](https://github.com/BadJacky "BadJacky (1 commits)")[![kanyxmo](https://avatars.githubusercontent.com/u/1711988?v=4)](https://github.com/kanyxmo "kanyxmo (1 commits)")[![xingkoo](https://avatars.githubusercontent.com/u/2936579?v=4)](https://github.com/xingkoo "xingkoo (1 commits)")[![zoujingli](https://avatars.githubusercontent.com/u/4349951?v=4)](https://github.com/zoujingli "zoujingli (1 commits)")

### Embed Badge

![Health badge](/badges/xmo-mine-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/xmo-mine-helpers/health.svg)](https://phpackages.com/packages/xmo-mine-helpers)
```

###  Alternatives

[konnco/filament-safely-delete

343.7k](/packages/konnco-filament-safely-delete)

PHPackages © 2026

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