Download the PHP package jaggy/work-scripts without Composer
On this page you can find all versions of the php package jaggy/work-scripts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package work-scripts
Work Scripts
This is a small library to make everything a tad bit easier at work.
The company I work at heavily depends on Basecamp in logging our work hours. So I came up with a small cli script to just use the git commits to log the hours.
Dependencies
sleepwatcherphp >= 5.5
Installation
You can install the scripts with composer
Usage
Before I get into the nitty gritty parts, let's just show it off to see how it works.
Also, you can just force the parameters. This is how the git hook makes everything much easier.
More or less, that's basically how it works.
Configuration
Setting up Basecamp
~/.workrc
To make the work scripts work, you need to register your environment in your home directory ~/.workrc.
Initializing a project
To initialize your project, you just need to run work init. From there, it'll do the following:
- Register
.workin your.gitignore - Create a
.workfile in your project root. - Ask which basecamp project you want to assiciate with that project and register it to your work config.
- Ask if you want to write a prefix for your logs.
- Register a
post-commitgit hook to your project.
Commands
| Command | Description |
|---|---|
init |
Initialize the current directory as a work project. |
scrum |
Start a SCRUM session and log to basecamp. |
time:log |
Log a time entry to basecamp. |
time:remaining |
Fetch the remaining hours to render from basecamp. |
time:in |
Sends a message to the skype channel that you're in. |
time:out |
Say your goodbyes! |
Notes
Fetch the current SSID
Todo
- [x] Add caching to avoid repeated requests to basecamp.
- [ ] Add an offline handler to send the basecamp log once an internet connection is detected.
All versions of work-scripts with dependencies
symfony/console Version ^3.1
guzzlehttp/guzzle Version ^6.2
illuminate/support Version ^5.2
thirteen/fetchable Version ^1.0
illuminate/filesystem Version ^5.2
illuminate/cache Version ^5.2