PHPackages                             treestoneit/belongs-to-field - 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. [Admin Panels](/categories/admin)
4. /
5. treestoneit/belongs-to-field

AbandonedArchivedLibrary[Admin Panels](/categories/admin)

treestoneit/belongs-to-field
============================

A Laravel Nova Belongs To field that respects Eager Loading

v0.1(7y ago)552.8k↓71.7%MITPHPPHP &gt;=7.1.0

Since Nov 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/treeStoneIT/belongs-to-field)[ Packagist](https://packagist.org/packages/treestoneit/belongs-to-field)[ RSS](/packages/treestoneit-belongs-to-field/feed)WikiDiscussions master Synced 2d ago

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

Eager Loading Belongs To Field for Laravel Nova
===============================================

[](#eager-loading-belongs-to-field-for-laravel-nova)

A Laravel Nova Belongs To field that respects Eager Loading

In current version of Laravel Nova Eager Loading is not working with Default BelongsTo Field

For a temporary workaround that does not break updatability:

We made a new field that extends the existing BelongsTo Class

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

[](#installation)

Install the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:

```
composer require treestoneit/belongs-to-field
```

To use
------

[](#to-use)

Change all uses of `BelongsTo` to this `BelongsToField`.

If a proper fix is available in the future, just change it back to the nova one.

So resulting code resource should look like this:

```
...
use Treestoneit\BelongsToField\BelongsToField;
...
...
public function fields(Request $request)
    {
        return [
        ...
            BelongsToField::make('User')
        ...
        ];
    }
...
...
```

Credits
-------

[](#credits)

Thanks to [Michael Münch](https://github.com/laravel/nova-issues/issues/112#issuecomment-439160859) for this solution

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community7

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

2779d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44207441?v=4)[Bomshteyn Consulting](/maintainers/treeStoneIT)[@treeStoneIT](https://github.com/treeStoneIT)

---

Top Contributors

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

---

Tags

laravelnovalaravelnova

### Embed Badge

![Health badge](/badges/treestoneit-belongs-to-field/health.svg)

```
[![Health](https://phpackages.com/badges/treestoneit-belongs-to-field/health.svg)](https://phpackages.com/packages/treestoneit-belongs-to-field)
```

###  Alternatives

[david-griffiths/nova-dark-theme

A dark theme for Laravel Nova

71600.0k](/packages/david-griffiths-nova-dark-theme)[pdmfc/nova-action-button

A Laravel Nova field to run actions.

37753.3k1](/packages/pdmfc-nova-action-button)[khalin/nova-link-field

A Laravel Nova Link field.

31587.5k2](/packages/khalin-nova-link-field)[cloudcake/nova-fixed-bars

A Laravel Nova package to add a responsive and/or fixed sidebar and navigation bar to the Nova admin UI.

33215.1k2](/packages/cloudcake-nova-fixed-bars)[stephenlake/nova-fixed-bars

A Laravel Nova package to add a responsive and/or fixed sidebar and navigation bar to the Nova admin UI.

3377.9k](/packages/stephenlake-nova-fixed-bars)

PHPackages © 2026

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