PHPackages                             lhilton/text-auto-complete - 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. lhilton/text-auto-complete

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

lhilton/text-auto-complete
==========================

A Laravel Nova text field supporting autocomplete from an array of values.

v1.0.1(5y ago)24.1k↓37.8%[1 issues](https://github.com/lhilton/laravel-nova-text-auto-complete/issues)MITVuePHP &gt;=7.1.0

Since Jan 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/lhilton/laravel-nova-text-auto-complete)[ Packagist](https://packagist.org/packages/lhilton/text-auto-complete)[ RSS](/packages/lhilton-text-auto-complete/feed)WikiDiscussions main Synced today

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

laravel-nova-text-auto-complete
===============================

[](#laravel-nova-text-auto-complete)

A Laravel Nova text field supporting autocomplete from an array of values. The field is a simple text field with the ability to provide autocompletion from an array of strings.

This does not force the selection of an item. The user will be free to type arbitrary text.

Demo
----

[](#demo)

[![Text Auto Complete](demo/demo.gif)](demo/demo.gif)

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

[](#installation)

From the command line:

```
composer require lhilton/text-auto-complete
```

Usage
-----

[](#usage)

Provile an array of strings that you want to be shown during usage.

```
use Lhilton\TextAutoComplete\TextAutoComplete;

public function fields(Request $request)
{
    return [
        TextAutoComplete::make('Regions')->items([
            'Alabama',
            'Alaska',
            'Arizona',
            'Arkansas',
            // ...
            'West Virginia',
            'Wisconsin',
            'Wyoming'
        ]),
    ];
}
```

You can feed from an Eloquent model like this:

```
use App\Models\User;
use Lhilton\TextAutoComplete\TextAutoComplete;

public function fields(Request $request)
{
    return [
        TextAutoComplete::make('Regions')->items(
            User::select('title')
                ->distinct()
                ->get()
                ->pluck('title')
                ->filter()
                ->values()
                ->toArray();
        ),
    ];
}
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

1988d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/lhilton-text-auto-complete/health.svg)

```
[![Health](https://phpackages.com/badges/lhilton-text-auto-complete/health.svg)](https://phpackages.com/packages/lhilton-text-auto-complete)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3453.7M8](/packages/optimistdigital-nova-multiselect-field)[inspheric/nova-defaultable

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

52178.7k1](/packages/inspheric-nova-defaultable)[murdercode/nova4-tinymce-editor

Boost your Laravel Nova with the TinyMCE editor.

17186.3k1](/packages/murdercode-nova4-tinymce-editor)[datomatic/nova-detached-actions

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

11273.0k](/packages/datomatic-nova-detached-actions)[wemersonrv/input-mask

A Laravel Nova custom field text with masks on input

1198.4k](/packages/wemersonrv-input-mask)

PHPackages © 2026

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