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 1mo ago

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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

1768d ago

Major Versions

v0.0.0 → v1.0.02021-07-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dff6aaa9372c95a1454f04f160d2d9b02c23e77a9225a3d06bc4092a455c995?d=identicon)[alitnk](/maintainers/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.

8053.0M25](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3402.9M2](/packages/outl1ne-nova-multiselect-field)[emilianotisato/nova-tinymce

This Nova package allow you to use TinyMCE editor for text areas.You can customize the editor options and... you can upload images to your server and put them rigth there on the text without leaving the text editor!

116884.3k4](/packages/emilianotisato-nova-tinymce)[silvanite/novafieldcheckboxes

A Laravel Nova field to display a number of multi-select options using checkboxes.

70846.9k1](/packages/silvanite-novafieldcheckboxes)[waynestate/nova-ckeditor4-field

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

62739.1k8](/packages/waynestate-nova-ckeditor4-field)[saumini/ellipsis-textarea

A Laravel Nova textarea field with ellipsis support

12146.9k](/packages/saumini-ellipsis-textarea)

PHPackages © 2026

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