LaravelPackages.net
Acme Inc.
Toggle sidebar
mraiur/sleep-logger

Log your sleep and wakeup. Next will have a graph display your sleep schedule for the past X days.

14
1
1.0.1
About mraiur/sleep-logger

mraiur/sleep-logger is a Laravel package for log your sleep and wakeup. next will have a graph display your sleep schedule for the past x days.. It currently has 1 GitHub stars and 14 downloads on Packagist (latest version 1.0.1). Install it with composer require mraiur/sleep-logger. Discover more Laravel packages by mraiur or browse all Laravel packages to compare alternatives.

Last updated

A simple log server for tracking start and end of polyphasic sleep cicles. For now is for personal use.

Setup

	php composer.phar install
	

Copy the config/config.sample.php to config/config.local.php and set the environment config.

Then run

	php vendor/bin/phinx migrate

Preview

Blog

More on blog.mraiur.com

Usage

I am running Tasker on android and each nap/core sleep the task posts a request with a token and event type to HTTPS://SERVER/track/{EVENT_TYPE} with post param a user hash for "some" authentication.

Event Types

	1 = Start of sleep/nap
	2 = End of sleep/nap

TODO

Refactor the code if i get some time and continue the polyphasic sleeping.

Star History Chart