PHPackages                             bithaolee/select-or-custom - 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. bithaolee/select-or-custom

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

bithaolee/select-or-custom
==========================

A Laravel Nova field.

1.0.0(2y ago)07MITVuePHP &gt;=7.1.0

Since Jul 27Pushed 2y agoCompare

[ Source](https://github.com/bithaolee/select-or-text)[ Packagist](https://packagist.org/packages/bithaolee/select-or-custom)[ RSS](/packages/bithaolee-select-or-custom/feed)WikiDiscussions master Synced 1mo ago

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

select-or-text
==============

[](#select-or-text)

Laravel Nova custom field that allows you to have a select drop-down or custom text!

Install
-------

[](#install)

You can install `select-or-text` using composer:

```
composer require bithaolee/select-or-custom

```

Then add the following code to your resources `fields` method:

```
\Lynndigital\SelectOrCustom\SelectOrCustom::make('Field Name')->options([]);
```

The field has an `options` method similar to that of Laravel Nova's `Select` field, it allows you to pass default options that may be selected.

Screenshots:
------------

[](#screenshots)

Add the field to nova: [![Code](resources/img/code.png)](resources/img/code.png)

The select field. [![The select field](resources/img/screenshot-1.png)](resources/img/screenshot-1.png)

Select one of your provided options, or choose "Custom (Free Text)" to add a custom value. [![Options](resources/img/screenshot-2.png)](resources/img/screenshot-2.png)

The field when a provided option is selected: [![Select box](resources/img/screenshot-3.png)](resources/img/screenshot-3.png)

The field when a custom value can be entered (a simple text field): [![Text input](resources/img/screenshot-4.png)](resources/img/screenshot-4.png)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1017d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/90b315a8d4e7bb9a5fc19ada42b83ed3f691f7cca4c58e52028d8be686881e6a?d=identicon)[haolee](/maintainers/haolee)

---

Top Contributors

[![0x15f](https://avatars.githubusercontent.com/u/17521434?v=4)](https://github.com/0x15f "0x15f (8 commits)")[![progamesigner](https://avatars.githubusercontent.com/u/8156513?v=4)](https://github.com/progamesigner "progamesigner (5 commits)")[![bithaolee](https://avatars.githubusercontent.com/u/6301977?v=4)](https://github.com/bithaolee "bithaolee (3 commits)")[![JoshOldenburg](https://avatars.githubusercontent.com/u/291371?v=4)](https://github.com/JoshOldenburg "JoshOldenburg (2 commits)")[![lintaba](https://avatars.githubusercontent.com/u/375078?v=4)](https://github.com/lintaba "lintaba (1 commits)")[![wouter-ham](https://avatars.githubusercontent.com/u/31404985?v=4)](https://github.com/wouter-ham "wouter-ham (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/bithaolee-select-or-custom/health.svg)

```
[![Health](https://phpackages.com/badges/bithaolee-select-or-custom/health.svg)](https://phpackages.com/packages/bithaolee-select-or-custom)
```

###  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)
