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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mraiur/sleep-logger

ActiveProject[Logging &amp; Monitoring](/categories/logging)

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 8y 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 today

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 47% 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

3368d 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

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k198.8M328](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[spatie/flare-client-php

Send PHP errors to Flare

177156.9M21](/packages/spatie-flare-client-php)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[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.7k16.2k47](/packages/elgg-elgg)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1557.6k](/packages/bacula-web-bacula-web)

PHPackages © 2026

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