oneduo/nova-time-field

A Laravel Nova time field

Downloads

25253

Stars

11

Version

v1.0.0

Laravel Nova Time field

Status License PHP Latest Version on Packagist Downloads Run tests


Table of Contents

Getting Started

Prerequisites

This package requires the following :

  • PHP 8.0 or higher
  • Laravel Nova 4.0 or higher

Installing

To get started, you will need to install the following dependencies :

composer require oneduo/nova-time-field

That's it, you're ready to go!

Usage

You may use the Time in your Nova resource :

// app/Nova/User.php

use Oneduo\NovaTimeField\Time;

class User extends Resource
{
    // ...

    public function fields(NovaRequest $request): array
    {
        return [
            // ... any other fields
            Time::make(__('time'), 'time'),
        ];
    }
}

Authors

See also the list of contributors who participated in this project.

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

Please review our security policy on how to report security vulnerabilities.

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

oneduo

Author

oneduo