PHPackages                             mraiur/sleep-logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. mraiur/sleep-logger

ActiveProject

mraiur/sleep-logger
===================

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

1.0.1(9y ago)114MITPHP

Since Apr 7Pushed 7y ago1 watchersCompare

[ Source](https://github.com/mraiur/sleep-logger)[ Packagist](https://packagist.org/packages/mraiur/sleep-logger)[ Docs](http://blog.mraiur.com/sleep-log)[ RSS](/packages/mraiur-sleep-logger/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (4)Used By (0)

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

Setup
=====

[](#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
=======

[](#preview)

[![Blog](https://camo.githubusercontent.com/b97479a24281381a848db9d05e71abbe394057fec5aa7e36a9a169f50219ee31/687474703a2f2f626c6f672e6d72616975722e636f6d2f66696c65732f736c6565702d6c6f672f76312e302e312e706e67)](https://camo.githubusercontent.com/b97479a24281381a848db9d05e71abbe394057fec5aa7e36a9a169f50219ee31/687474703a2f2f626c6f672e6d72616975722e636f6d2f66696c65732f736c6565702d6c6f672f76312e302e312e706e67)

[More on blog.mraiur.com](http://blog.mraiur.com/sleep-log)

Usage
=====

[](#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}](HTTPS://SERVER/track/%7BEVENT_TYPE%7D)** with post param a user hash for "some" authentication.

Event Types
-----------

[](#event-types)

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

```

TODO
====

[](#todo)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity65

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

3317d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e04ea7affb585a55d0ce535c1dc8623bdc7532d67e37a8593e8284eed48a4661?d=identicon)[mraiur](/maintainers/mraiur)

### Embed Badge

![Health badge](/badges/mraiur-sleep-logger/health.svg)

```
[![Health](https://phpackages.com/badges/mraiur-sleep-logger/health.svg)](https://phpackages.com/packages/mraiur-sleep-logger)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[egroupware/openid

EGroupware OpenID Connect / OAuth2 server

1226.8k2](/packages/egroupware-openid)[vesp/core

Vesp core library to make backend simple

243.8k5](/packages/vesp-core)[forme/framework

An MVC framework for WordPress.

175.0k3](/packages/forme-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
