PHPackages                             marshmallow/nova-input-with-type - 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. marshmallow/nova-input-with-type

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

marshmallow/nova-input-with-type
================================

A Laravel Nova field.

v1.0.0(3y ago)12.9k↓100%MITPHPPHP ^7.3|^8.0

Since Dec 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/marshmallow-packages/nova-input-with-type)[ Packagist](https://packagist.org/packages/marshmallow/nova-input-with-type)[ RSS](/packages/marshmallow-nova-input-with-type/feed)WikiDiscussions main Synced 1mo ago

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

[![alt text](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67 "marshmallow.")](https://camo.githubusercontent.com/f5450f299f5713ce2f04dd5a1ba7ce9960ed4568b3574e4c4ee3cddc75477253/68747470733a2f2f6d617273686d616c6c6f772e6465762f63646e2f6d656469612f6c6f676f2d7265642d3233377834362e706e67)

Nova Input with Type Package
============================

[](#nova-input-with-type-package)

Do you ever just wish you can set an input type for the Nova Field you are creating? You need a field with the time type but there is no package available for this. Wait no more! This extremely simple package lets you set you input yourself. **🚨 Please make sure your browser supports the field types you are using!** [![](resources/readme/preview.png)](resources/readme/preview.png)

[![Version](https://camo.githubusercontent.com/280ba7b138de64cfe2ad127241cd4f6728ddd2a36872faa107891c1115809d11/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617273686d616c6c6f772f6e6f76612d696e7075742d776974682d74797065)](https://github.com/marshmallow-packages/nova-input-with-type)[![Issues](https://camo.githubusercontent.com/c5898341f1bfa87c14b222e571b86568e782bab7615f66f6d5d6e7c8ac9aea7c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d617273686d616c6c6f772d7061636b616765732f6e6f76612d696e7075742d776974682d74797065)](https://github.com/marshmallow-packages/nova-input-with-type)[![Code Coverage](https://camo.githubusercontent.com/a47a770765f8c7b5776c024ff602bfc3f3686ba8be5317b3d0c320c715df42c1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d3130302532352d73756363657373)](https://github.com/marshmallow-packages/nova-input-with-type)[![Licence](https://camo.githubusercontent.com/da8eacc2d79c90e62cef205153b25f092a796cb3adaef72b8264ab9dfcefdbba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d617273686d616c6c6f772d7061636b616765732f6e6f76612d696e7075742d776974682d74797065)](https://github.com/marshmallow-packages/nova-input-with-type)

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

[](#installation)

You can install the package via composer:

```
composer require marshmallow/nova-input-with-type
```

Usage
-----

[](#usage)

You can just call the type method on your new field and nothing extra is needed:

```
use Marshmallow\InputWithType\InputWithType;

InputWithType::make('Started working at')->type('time'),
```

### Methods

[](#methods)

We’ve also created some alias methods for you if you don’t want to use the `type` method. Here are some examples:

### text()

[](#text)

```
InputWithType::make('My field')->text(),
```

### color()

[](#color)

```
InputWithType::make('My field')->color(),
```

### date()

[](#date)

```
InputWithType::make('My field')->date(),
```

### datetimeLocal()

[](#datetimelocal)

```
InputWithType::make('My field')->datetimeLocal(),
```

### email()

[](#email)

```
InputWithType::make('My field')->email(),
```

### hidden()

[](#hidden)

```
InputWithType::make('My field')->hidden(),
```

### number()

[](#number)

```
InputWithType::make('My field')->number(),
```

### password()

[](#password)

```
InputWithType::make('My field')->password(),
```

### range()

[](#range)

```
InputWithType::make('My field')
		->range()
    ->min(0)
    ->max(10)
    ->step(2),
```

### tel()

[](#tel)

```
InputWithType::make('My field')->tel(),
```

### time()

[](#time)

```
InputWithType::make('My field')->time(),
```

### url()

[](#url)

```
InputWithType::make('My field')->url(),
```

### week()

[](#week)

```
InputWithType::make('My field')
	->week()
	->min('2018-W18')
	->max('2018-W26'),
```

### month()

[](#month)

```
InputWithType::make('My field')
	->month()
	->min('2018-03'),
```

### search()

[](#search)

```
InputWithType::make('My field')->search(),
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Stef van Esch](https://github.com/stefvanesch)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1252d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/be33d2624e24c516e73892b0929447cc762f3622c024ab8d0d2a59042e5d2c7f?d=identicon)[marshmallow](/maintainers/marshmallow)

---

Top Contributors

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

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/marshmallow-nova-input-with-type/health.svg)

```
[![Health](https://phpackages.com/badges/marshmallow-nova-input-with-type/health.svg)](https://phpackages.com/packages/marshmallow-nova-input-with-type)
```

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