PHPackages                             clevel/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. clevel/nova-prepopulate-searchable

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

clevel/nova-prepopulate-searchable
==================================

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

v1.0.5(6y ago)0252MITVuePHP &gt;=7.1.0

Since Jul 10Pushed 6y agoCompare

[ Source](https://github.com/C-Level/nova-prepopulate-searchable)[ Packagist](https://packagist.org/packages/clevel/nova-prepopulate-searchable)[ Docs](https://github.com/C-Level/nova-prepopulate-searchable)[ RSS](/packages/clevel-nova-prepopulate-searchable/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (1)Versions (7)Used By (0)

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

[](#a-tool-to-allow-belongsto-searchable-fields-to-be-pre-populated-with-data)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b618f3baac8afe96211350eaa4bf66dce6148ee13183def2345f86da88313357/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c6578626f776572732f6e6f76612d707265706f70756c6174652d73656172636861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alexbowers/nova-prepopulate-searchable)[![Quality Score](https://camo.githubusercontent.com/ff111bfe82d0d7de9d55a634b7b93572c5660440c95b503d78f415b72ca597b5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616c6578626f776572732f6e6f76612d707265706f70756c6174652d73656172636861626c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/alexbowers/nova-prepopulate-searchable)[![Total Downloads](https://camo.githubusercontent.com/a38fae0a1a7fc6cd90297042ef5d8149d6398f44cc6b19a9650fbcb8087de549/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c6578626f776572732f6e6f76612d707265706f70756c6174652d73656172636861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alexbowers/nova-prepopulate-searchable)

Note
----

[](#note)

This package is incompatible with [Create or add package](https://github.com/Abhi0725/nova-create-or-add). The Mainteners are no longer interested so i fixed both and will.

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

[](#installation)

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

```
composer require mustafatoker/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).

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

Credits
-------

[](#credits)

- [Alex Bowers](https://github.com/alexbowers)
- [Mustafa TOKER](https://github.com/mustafatoker)
- [Burak TEKİN](https://github.com/tekinburak)
- [Mustafa DEMİR](https://github.com/mstfdmr)
- [Salih KANDEMİR](#)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~51 days

Recently: every ~61 days

Total

6

Last Release

2237d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/3ab2f8d442ad3a3f49afce5b031292af0300ac32821a7fd5cbd3f83db6bcc07a?d=identicon)[kaan](/maintainers/kaan)

---

Top Contributors

[![bsormagec](https://avatars.githubusercontent.com/u/965219?v=4)](https://github.com/bsormagec "bsormagec (3 commits)")[![clevel-kaan](https://avatars.githubusercontent.com/u/58694321?v=4)](https://github.com/clevel-kaan "clevel-kaan (3 commits)")[![mustafatoker](https://avatars.githubusercontent.com/u/3192305?v=4)](https://github.com/mustafatoker "mustafatoker (2 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)

PHPackages © 2026

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