PHPackages                             pragmarx/nova-boolean-datetime-field - 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. [Templating &amp; Views](/categories/templating)
4. /
5. pragmarx/nova-boolean-datetime-field

ActiveLibrary[Templating &amp; Views](/categories/templating)

pragmarx/nova-boolean-datetime-field
====================================

A Laravel Nova Boolean DateTime field.

v1.0.0(7y ago)2128.4k↓66.7%5[2 issues](https://github.com/antonioribeiro/nova-boolean-datetime-field/issues)[1 PRs](https://github.com/antonioribeiro/nova-boolean-datetime-field/pulls)MITPHPPHP &gt;=7.1.0

Since Jan 20Pushed 6y ago4 watchersCompare

[ Source](https://github.com/antonioribeiro/nova-boolean-datetime-field)[ Packagist](https://packagist.org/packages/pragmarx/nova-boolean-datetime-field)[ RSS](/packages/pragmarx-nova-boolean-datetime-field/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Laravel Nova Boolean DateTime Field
===================================

[](#laravel-nova-boolean-datetime-field)

This package allows you to show set/unset states for your date fields as boolean view or badges.

This is how your boolean dates will render:

[![Dashboard index page](docs/screenshot1.png)](docs/screenshot1.png)

Edit view will let you use the DatePicker as always

[![Dashboard index page](docs/screenshot2.png)](docs/screenshot2.png)

Detail view will show badges and values

[![Dashboard index page](docs/screenshot3.png)](docs/screenshot3.png)

### Installation Instructions

[](#installation-instructions)

Install via [Composer](https://getcomposer.org/):

`$ composer require pragmarx/nova-boolean-datetime-field`

No you just have to use it in your Resources:

```
use PragmaRX\BooleanDatetime\BooleanDatetime;
```

And here's some usage examples:

A normal dotted boolean

```
BooleanDatetime::make('Sent', 'sent_at'),
```

A badge datetime boolean

```
BooleanDateTime::make('Delivered', 'delivered_at')
    ->badge(),
```

Change colors

```
BooleanDateTime::make('Bounced', 'bounced_at')
    ->badge()
    ->colors('bg-danger text-white', 'bg-lighter text-black'),
```

Make a less important value a clear badge

```
BooleanDateTime::make('Opened', 'opened_at')
    ->badge()
    ->colors('bg-success text-white', 'bg-warning text-black'),
```

Change badge labels

```
BooleanDateTime::make('Clicked', 'clicked_at')
    ->badge('Done', 'Open'),
```

Hide it from index

```
BooleanDateTime::make('Clicked', 'clicked_at')
    ->badge()
    ->hideFromIndex(),
```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

3

Last Release

2675d ago

Major Versions

v0.0.2 → v1.0.02019-01-20

### Community

Maintainers

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

---

Top Contributors

[![antonioribeiro](https://avatars.githubusercontent.com/u/3182864?v=4)](https://github.com/antonioribeiro "antonioribeiro (14 commits)")[![rrebilla](https://avatars.githubusercontent.com/u/111347542?v=4)](https://github.com/rrebilla "rrebilla (1 commits)")[![tekreme73](https://avatars.githubusercontent.com/u/6062154?v=4)](https://github.com/tekreme73 "tekreme73 (1 commits)")

---

Tags

laravelnova

### Embed Badge

![Health badge](/badges/pragmarx-nova-boolean-datetime-field/health.svg)

```
[![Health](https://phpackages.com/badges/pragmarx-nova-boolean-datetime-field/health.svg)](https://phpackages.com/packages/pragmarx-nova-boolean-datetime-field)
```

###  Alternatives

[whitecube/nova-flexible-content

Flexible Content &amp; Repeater Fields for Laravel Nova.

8053.0M25](/packages/whitecube-nova-flexible-content)[outl1ne/nova-multiselect-field

A multiple select field for Laravel Nova.

3402.9M2](/packages/outl1ne-nova-multiselect-field)[emilianotisato/nova-tinymce

This Nova package allow you to use TinyMCE editor for text areas.You can customize the editor options and... you can upload images to your server and put them rigth there on the text without leaving the text editor!

116884.3k4](/packages/emilianotisato-nova-tinymce)[silvanite/novafieldcheckboxes

A Laravel Nova field to display a number of multi-select options using checkboxes.

70846.9k1](/packages/silvanite-novafieldcheckboxes)[waynestate/nova-ckeditor4-field

This nova package allows you to use CKEditor 4 for text areas.

62739.1k8](/packages/waynestate-nova-ckeditor4-field)[oneduo/nova-time-field

A Laravel Nova time field

13157.6k](/packages/oneduo-nova-time-field)

PHPackages © 2026

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