PHPackages                             stefanotorresi/thorr-advent - 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. [CLI &amp; Console](/categories/cli)
4. /
5. stefanotorresi/thorr-advent

ActivePuzzles[CLI &amp; Console](/categories/cli)

stefanotorresi/thorr-advent
===========================

Advent of Code puzzle solutions wrapped in a PHP7 CLI app

1.0.0(10y ago)19MITPHPPHP ^7.0

Since Dec 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/stefanotorresi/thorr-advent)[ Packagist](https://packagist.org/packages/stefanotorresi/thorr-advent)[ RSS](/packages/stefanotorresi-thorr-advent/feed)WikiDiscussions master Synced today

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

thorr-advent
============

[](#thorr-advent)

[Advent of Code](http://adventofcode.com/) puzzle solutions wrapped in a PHP7 CLI app. Most overkill and far from code golf as it can be.

Installation
------------

[](#installation)

### Composer global install

[](#composer-global-install)

```
$: composer global require stefanotorresi/thorr-advent
```

The executable will be `~/.composer/bin/advent`.

### Git

[](#git)

```
$: git clone https://github.com/stefanotorresi/thorr-advent
$: cd thorr-advent
$: composer install
```

The executable will be `./advent`.

### Phar

[](#phar)

`TBD`

Usage
-----

[](#usage)

Each puzzle is available as a command named `dayN`.

You can use either a file path or stdin as input:

```
$: advent day1 day1.txt
```

```
$: echo "()()())))((((((((((((" | advent day1
```

Both parts of the puzzle will be executed by default, but you can execute just a single part if you want, using the `--part` option:

```
$: advent day1 day1.txt --part basement
```

You can get to know the part names with the `help` command:

```
$: advent help day1
```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Unknown

Total

1

Last Release

3856d ago

### Community

Maintainers

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

---

Top Contributors

[![stefanotorresi](https://avatars.githubusercontent.com/u/2952427?v=4)](https://github.com/stefanotorresi "stefanotorresi (33 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/stefanotorresi-thorr-advent/health.svg)

```
[![Health](https://phpackages.com/badges/stefanotorresi-thorr-advent/health.svg)](https://phpackages.com/packages/stefanotorresi-thorr-advent)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13045.3M6.3k](/packages/illuminate-console)

PHPackages © 2026

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