cloudstudio/time-tracker

A Laravel Nova field.

dev-master 2019-02-11 19:54 UTC

This package is auto-updated.

Last update: 2024-04-12 08:43:56 UTC


README

Total Downloads

Time Tracker Field for Laravel Nova

TimeTracker Field Preview

Resource Generator Tool

IMPORTANT

I create this for a personal project, be free to fork it, and customize :)

I modify some css ( responsive ), so use https://packagist.org/packages/gregoriohc/laravel-nova-theme-responsive

Installation

You can install the package in to a Laravel app that uses Nova via composer:

composer require cloudstudio/time-tracker

Next up, you must register the field with Nova. This is typically done in the resource file.

use Cloudstudio\TimeTracker\TimeTracker;

TimeTracker::make('Hours', 'seconds', function () {
	return gmdate("H:i:s", $this->seconds);
})->sortable(),

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Credits

License

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