PHPackages                             ronnytorresmtz/date-inline - 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. ronnytorresmtz/date-inline

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

ronnytorresmtz/date-inline
==========================

A Laravel Nova field.

v1.0.16(4y ago)21.1k1[1 issues](https://github.com/ronnytorresmtz/date-inline/issues)MITVuePHP &gt;=7.1.0

Since Jul 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ronnytorresmtz/date-inline)[ Packagist](https://packagist.org/packages/ronnytorresmtz/date-inline)[ RSS](/packages/ronnytorresmtz-date-inline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (18)Used By (0)

Laravel Nova Date Inline Field with One Click
=============================================

[](#laravel-nova-date-inline-field-with-one-click)

This package allow you to edit a Date field in the index page with `one click`

### Installation

[](#installation)

```
    composer require ronnytorres/date-inline

```

### Usage

[](#usage)

#### Add the field to your resource without edition

[](#add-the-field-to-your-resource-without-edition)

```
public function fields(Request $request)
{
        return [

                DateInline::make('Start Date'),

        ];

}
```

To edit the Date field you need to click it on.

If you press the `Esc key` or `lost the focues` the field will became not editable.

#### Add the field to your resource and allow to edit with one click

[](#add-the-field-to-your-resource-and-allow-to-edit-with-one-click)

```
public function fields(Request $request)
{
        return [

                DateInline::make('Start Date')
                        ->inlineOnIndex(),

        ];

}
```

The `inlineOnIndex` method also accepts a closure with the current request if you want to make it editable dynamically.

```
public function fields()
{
    return [
        InlineText::make('Start Date')
            ->inlineOnIndex(function (NovaRequest $request) {
                return $request->user()->isAdmin();
            }),
    ];
}
```

#### Show the message 'Date is overdue' at the bottom of the date field

[](#show-the-message-date-is-overdue-at-the-bottom-of-the-date-field)

```
public function fields(Request $request)
{
        return [

        DateInline::make('End Date')
                ->showOverdue(),
        ];
}
```

#### Show a toast message if one date is not greater than other one

[](#show-a-toast-message-if-one-date-is-not-greater-than-other-one)

```
public function fields(Request $request)
{
        return [

        DateInline::make('Start Date'),

        DateInline::make('End Date')
                ->greaterThan('Start Date),
        ];
}
```

#### The date field in your migrations/database must be nullable

[](#the-date-field-in-your-migrationsdatabase-must-be-nullable)

```
$table->date('data_field_name')->nullable();
```

### Resoure Example

[](#resoure-example)

[![Image](dateInline_image.PNG)](dateInline_image.PNG)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

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

Recently: every ~56 days

Total

17

Last Release

1740d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/415259f49fe1133f081e214ddcacf07add96edaeede05315f8e25423384aff6a?d=identicon)[Rolando Torres](/maintainers/Rolando%20Torres)

---

Top Contributors

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

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/ronnytorresmtz-date-inline/health.svg)

```
[![Health](https://phpackages.com/badges/ronnytorresmtz-date-inline/health.svg)](https://phpackages.com/packages/ronnytorresmtz-date-inline)
```

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