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)23.9k↓33.3%[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 1mo ago

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 37% 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

1943d ago

### Community

Maintainers

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

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)[genealabs/laravel-overridable-model

Provide a uniform method of allowing models to be overridden in Laravel.

92398.0k2](/packages/genealabs-laravel-overridable-model)[inspheric/nova-defaultable

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

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

Boost your Laravel Nova with the TinyMCE editor.

17165.2k](/packages/murdercode-nova4-tinymce-editor)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

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