dcodegroup / laravel-timesheets
Simple package which dcode uses to install timesheets into an application
Installs: 1 923
Dependents: 1
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- laravel/framework: ^7.0|^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- laravel/pint: ^1.13
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.