dcodegroup/laravel-timesheets

Simple package which dcode uses to install timesheets into an application

0.1.3 2023-12-11 06:38 UTC

This package is auto-updated.

Last update: 2024-04-11 07:23:38 UTC


README

This package provides the standard timesheets migration and provides a base model.

Installation

You can install the package via composer:

composer require dcodegroup/laravel-timesheets

Then run the install command.

php artsian laravel-timesheets:install

This will publish the configuration file and the migration file.

Run the migrations

php artsian migrate

Configuration

Most of configuration has been set the fair defaults. However you can review the configuration file at config/laravel-timesheets.php and adjust as needed

Usage

If the table does not already exist the install command php artsian laravel-timesheets:install will install the timesheets table for you.

The package also contains a model Timesheet::class You can use this else use it as a base mode in your own Timesheet Model.