Skip to content

Latest commit

 

History

History
92 lines (62 loc) · 2.3 KB

README.md

File metadata and controls

92 lines (62 loc) · 2.3 KB

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.