PHPackages                             thunder-birds-studio/laravel-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. [Framework](/categories/framework)
4. /
5. thunder-birds-studio/laravel-helpers

ActiveLibrary[Framework](/categories/framework)

thunder-birds-studio/laravel-helpers
====================================

Helpers for laravel framework

v1.1.0(7y ago)067MITPHP

Since Jul 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ThunderBirdsStudio/laravel-helpers)[ Packagist](https://packagist.org/packages/thunder-birds-studio/laravel-helpers)[ RSS](/packages/thunder-birds-studio-laravel-helpers/feed)WikiDiscussions master Synced yesterday

READMEChangelog (5)Dependencies (1)Versions (7)Used By (0)

laravel-helpers
===============

[](#laravel-helpers)

Helpers for laravel framework.

### 1. Helper `fof(Class::class, $class_or_id)` use for auto find the model using `id` or `Model`.

[](#1-helper-fofclassclass-class_or_id-use-for-auto-find-the-model-using-id-or-model)

It may helper some reason. When use design pattern and you don't need it make a query every times when you pass data to your `Services` or `Repositories`. Or when you not sure you should pass `Model` or only `id` to other class.

```
class FooController
{
    /**
     * @var FooService
     */
    protected $foo_service;

    /**
     * @param FooService $foo_service
     */
    public function __construct(FooService $foo_service)
    {
        $this->foo_service = $foo_service;
    }

    /**
     * @param int $foo_id
     */
    public function bar($foo_id)
    {
        $this->foo_service->bar($foo_id);
    }

    /**
     * @param FooModel $foo
     */
    public function barz(FooModel $foo)
    {
        $this->foo_service->bar($foo);
    }
}

```

```
class FooService
{
    /**
     * @param FooModel|int $foo
     */
    public function bar($foo)
    {
        $foo = fof(FooModel::class, $foo);

        // Do somethings.
    }
}

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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

5

Last Release

2869d ago

Major Versions

v0.0.3 → V1.0.02018-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/1072fa83c14dee62d45f80eeddd849b04dffaf60651b1b54d20adc51ebdbd37e?d=identicon)[ThunderBirdsX3](/maintainers/ThunderBirdsX3)

---

Top Contributors

[![ThunderBirdsX3](https://avatars.githubusercontent.com/u/6513358?v=4)](https://github.com/ThunderBirdsX3 "ThunderBirdsX3 (13 commits)")

---

Tags

frameworklaravelhelpers

### Embed Badge

![Health badge](/badges/thunder-birds-studio-laravel-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/thunder-birds-studio-laravel-helpers/health.svg)](https://phpackages.com/packages/thunder-birds-studio-laravel-helpers)
```

###  Alternatives

[dragon-code/support

Support package is a collection of helpers and tools for any project.

238.7M101](/packages/dragon-code-support)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)

PHPackages © 2026

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