PHPackages                             alitnk/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. alitnk/nova-parental-field

ActiveLibrary

alitnk/nova-parental-field
==========================

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

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

Since Jul 8Pushed 4y agoCompare

[ Source](https://github.com/alitnk/nova-parental-field)[ Packagist](https://packagist.org/packages/alitnk/nova-parental-field)[ RSS](/packages/alitnk-nova-parental-field/feed)WikiDiscussions main Synced 2d 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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

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

1769d 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/alitnk-nova-parental-field/health.svg)

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

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)[padocia/laravel-nova-pdf

Generate Pdf from nova resources

2326.5k](/packages/padocia-laravel-nova-pdf)

PHPackages © 2026

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