PHPackages                             wamadev/nova-parental-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. [Templating &amp; Views](/categories/templating)
4. /
5. wamadev/nova-parental-field

Abandoned → [alitnk/nova-parental-field](/?search=alitnk%2Fnova-parental-field)Library[Templating &amp; Views](/categories/templating)

wamadev/nova-parental-field
===========================

A Laravel Nova field for single-table inheritance (Caleb Porzio's "Parental" package)

v1.0.0(4y ago)46MITPHPPHP &gt;=7.1.0

Since Jul 8Pushed 4y agoCompare

[ Source](https://github.com/alitnk/nova-parental-field)[ Packagist](https://packagist.org/packages/wamadev/nova-parental-field)[ RSS](/packages/wamadev-nova-parental-field/feed)WikiDiscussions main Synced today

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

Nova Parental Field
===================

[](#nova-parental-field)

A Laravel Nova field made for [Parental](https://github.com/calebporzio/parental) to quickly make a select element to choose the child type

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

[](#installation)

```
composer require alitnk/nova-parental-field
```

Usage
-----

[](#usage)

```
use Wama\NovaParentalField\Parental;

 public function fields(Request $request)
    {
        return [
            // ... your other fields

            Parental::make()->searchable(),
        ];
    }
```

The parental field extends Nova's select field. so you can make use of methods like `searchable()` on it.

Passing the field's name is optional, the package will automatically get the field name based on your `$childColumn` property and if there is none, [it'll just default to `type`](https://github.com/calebporzio/parental/blob/a0739736b9a34cb78bca5b4eda45882765644ff5/src/HasChildren.php#L174).

After making the field, it automatically gets the children types and populates them in the select field.

---

So, assuming your parent model looks like this:

```
class User extends Model {
    use HasChildren;

    private $childTypes = [
        'admin' => Admin::class,
        'moderator' => Moderator::class,
        'author' => Author::class,
    ];
}
```

After you add the `Parental::make()->searchable()` to your Nova fields, you should get the following result:

[![nova-parental-field-1](https://user-images.githubusercontent.com/35243344/124952789-c6e35400-e029-11eb-9942-e5e080fe3a34.jpg)](https://user-images.githubusercontent.com/35243344/124952789-c6e35400-e029-11eb-9942-e5e080fe3a34.jpg)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

1820d ago

Major Versions

v0.0.0 → v1.0.02021-07-08

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravellaravel-novanovaparentalsingle-table-inheritancelaravelnovaparentalcaleb porzio

### Embed Badge

![Health badge](/badges/wamadev-nova-parental-field/health.svg)

```
[![Health](https://phpackages.com/badges/wamadev-nova-parental-field/health.svg)](https://phpackages.com/packages/wamadev-nova-parental-field)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8113.3M27](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3423.3M2](/packages/outl1ne-nova-multiselect-field)[waynestate/nova-ckeditor4-field

This nova package allows you to use CKEditor 4 for text areas.

63769.8k9](/packages/waynestate-nova-ckeditor4-field)[saumini/ellipsis-textarea

A Laravel Nova textarea field with ellipsis support

12153.2k](/packages/saumini-ellipsis-textarea)[joshmoreno/nova-html-field

A Laravel Nova field for rendering custom html on index, detail, and forms.

13102.0k3](/packages/joshmoreno-nova-html-field)

PHPackages © 2026

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