PHPackages                             genealabs/nova-prepopulate-searchable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. genealabs/nova-prepopulate-searchable

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

genealabs/nova-prepopulate-searchable
=====================================

A tool to allow BelongsTo searchable fields to be pre-populated with data

3.0.0(4y ago)3866.3k—0%19[3 issues](https://github.com/GeneaLabs/nova-prepopulate-searchable/issues)MITVuePHP ^7.4|^8.0

Since Sep 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/GeneaLabs/nova-prepopulate-searchable)[ Packagist](https://packagist.org/packages/genealabs/nova-prepopulate-searchable)[ Docs](https://github.com/alexbowers/nova-prepopulate-searchable)[ RSS](/packages/genealabs-nova-prepopulate-searchable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (10)Used By (0)

This package has been archived until such time that it can be brought up-to-date with Laravel Nova. We have stopped using Laravel Nova, and no longer have a license for it. As such we currently cannot justify further development on this package. Please check here for availability of similar packages:

Prepoulate Searchable for Laravel Nova
======================================

[](#prepoulate-searchable-for-laravel-nova)

**A tool to allow BelongsTo searchable fields to be pre-populated with data**

[![Latest Version on Packagist](https://camo.githubusercontent.com/5560ce72eeb7f37c7dda1e4cfc0a54d59ae9bd760383d07b474137319b1a518f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67656e65616c6162732f6e6f76612d707265706f70756c6174652d73656172636861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alexbowers/nova-prepopulate-searchable)[![Total Downloads](https://camo.githubusercontent.com/a38fae0a1a7fc6cd90297042ef5d8149d6398f44cc6b19a9650fbcb8087de549/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c6578626f776572732f6e6f76612d707265706f70756c6174652d73656172636861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/genealabs/nova-prepopulate-searchable)

[![Prepopulate Search](https://github.com/genealabs/nova-prepopulate-searchable/raw/master/screenshots/example.gif?raw=true)](https://github.com/genealabs/nova-prepopulate-searchable/blob/master/screenshots/example.gif?raw=true)

```
- Alert: the namespace of this repo has changed from `alexbowers/nova-prepopulate-searchable`
- to `genealabs/nova-prepopulate-searchable`. Please update your composer.json file before updating!
```

Sponsors
--------

[](#sponsors)

We thank the following sponsors for their generosity. Please take a moment to check them out:

- [LIX](https://lix-it.com)

Requirements
------------

[](#requirements)

- PHP 7.3+
- Laravel 7.0+
- Nova 3.8.4+

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

```
composer require genealabs/nova-prepopulate-searchable
```

Usage
-----

[](#usage)

On any `BelongsTo` fields in your resources that are `searchable()`, you can also add `prepopulate()` to the method chain and the field will be prepopulated with values to choose from.

You may optionally pass through a search query to the prepopulate method, and the keywords passed will be used for the search initially, before resetting the search to being empty (as it currently is).

### Limiting Pre-Populated Items

[](#limiting-pre-populated-items)

You can limit the prepopulated items by passing in a search string to the `prepopulated()` method like so:

```
    BelongsTo::make("Archive")
        ->searchable()
        ->prepopulate("test").
```

This would prepopulate all archives that have test in their display field.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

### [Alex Bowers](https://github.com/alexbowers)

[](#alex-bowers)

Alex is the original developer of this package and has done a great job with initial development.

### [Mike Bronner](https://github.com/mikebronner)

[](#mike-bronner)

I started using this package and didn't want it to fall to the way-side, as it helps improve the UX of Nova significantly. Alex graceously allowed me to continue development and maintenance on his original package.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity40

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 74.2% 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 ~156 days

Recently: every ~131 days

Total

9

Last Release

1552d ago

Major Versions

1.3.2 → 2.0.02020-09-15

2.0.1 → 3.0.02022-02-08

PHP version history (4 changes)v1.0.0PHP &gt;=7.1.0

1.2.0PHP ^7.3

2.0.1PHP ^7.3|^8.0

3.0.0PHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4374bfc5d8583aa8c25c5080f1fcfaf09027822f47724ba6b64abc564945c80a?d=identicon)[mikebronner](/maintainers/mikebronner)

---

Top Contributors

[![mikebronner](https://avatars.githubusercontent.com/u/1791050?v=4)](https://github.com/mikebronner "mikebronner (23 commits)")[![alexbowers](https://avatars.githubusercontent.com/u/842974?v=4)](https://github.com/alexbowers "alexbowers (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![henryavila](https://avatars.githubusercontent.com/u/8429941?v=4)](https://github.com/henryavila "henryavila (1 commits)")

---

Tags

laravellaravel-packagenovanova-packagepackagelaravelnova

### Embed Badge

![Health badge](/badges/genealabs-nova-prepopulate-searchable/health.svg)

```
[![Health](https://phpackages.com/badges/genealabs-nova-prepopulate-searchable/health.svg)](https://phpackages.com/packages/genealabs-nova-prepopulate-searchable)
```

###  Alternatives

[spatie/nova-backup-tool

A Laravel Nova tool to backup your application.

361560.7k1](/packages/spatie-nova-backup-tool)[datomatic/nova-enum-field

A Laravel Nova PHP 8.1 enum field with filters

20134.2k](/packages/datomatic-nova-enum-field)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92179.0k3](/packages/advoor-nova-editor-js)[simplesquid/nova-enum-field

A Laravel Nova field to add enums to resources.

52391.9k2](/packages/simplesquid-nova-enum-field)[genealabs/laravel-changelog

A Laravel Nova tool.

55250.7k](/packages/genealabs-laravel-changelog)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

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