PHPackages                             rareloop/hatchet - 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. rareloop/hatchet

ActiveLibrary

rareloop/hatchet
================

v1.1.2(3y ago)1042.2k↓27.8%2[1 issues](https://github.com/Rareloop/hatchet/issues)[1 PRs](https://github.com/Rareloop/hatchet/pulls)PHPPHP ^8.0.0

Since Aug 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Rareloop/hatchet)[ Packagist](https://packagist.org/packages/rareloop/hatchet)[ RSS](/packages/rareloop-hatchet/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (11)Versions (9)Used By (0)

Hatchet - CLI for Lumberjack
============================

[](#hatchet---cli-for-lumberjack)

[![CI](https://camo.githubusercontent.com/878a1dbf68be7602561520935b562c8ce94bf6b69c610af2c1b3758c81e1719d/68747470733a2f2f7472617669732d63692e6f72672f526172656c6f6f702f686174636865742e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/878a1dbf68be7602561520935b562c8ce94bf6b69c610af2c1b3758c81e1719d/68747470733a2f2f7472617669732d63692e6f72672f526172656c6f6f702f686174636865742e7376673f6272616e63683d6d6173746572)[![Coveralls](https://camo.githubusercontent.com/30d733555995954497f4be6a1f2fcc53018716207c22e9d1caeeae69e2f6ef13/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f526172656c6f6f702f686174636865742f62616467652e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/30d733555995954497f4be6a1f2fcc53018716207c22e9d1caeeae69e2f6ef13/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f526172656c6f6f702f686174636865742f62616467652e7376673f6272616e63683d6d6173746572)

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

[](#installation)

```
composer require rareloop/hatchet

```

Once installed you need to copy the `hatchet` file into your Lumberjack theme directory.

*It is assuming you're using Lumberjack inside Bedrock. If not, you may need to make some changes to paths in the `hatchet` file*

Basic Usage
-----------

[](#basic-usage)

You can now access the Hatchet CLI from inside your Lumberjack theme directory:

### To show available commands

[](#to-show-available-commands)

```
php hatchet list

```

### To run a command

[](#to-run-a-command)

For a given command called `test:command` you would run the following:

```
php hatchet test:command

```

### Get additional help about a command

[](#get-additional-help-about-a-command)

For a given command called `test:command` you would run the following:

```
php hatchet help test:command

```

Adding Commands
---------------

[](#adding-commands)

To add additional commands to Hatchet add them to `config/hatchet.php` (create the file if it doesn't exist).

```
// config/hatchet.php

return [
    'commands' => [
        MyCommand::class,
    ],
];
```

Writing Commands
----------------

[](#writing-commands)

Create a subclass of `Rareloop\Hatchet\Commands\Command`:

```
namespace MyNamespace;

use Rareloop\Hatchet\Commands\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

class ControllerMake extends Command
{
    protected $signature = 'test:command {paramName : The description of the parameter}';

    protected $description = 'A description of the command';

    protected function execute(InputInterface $input, OutputInterface $output)
    {
        // Command implementation
    }
}
```

Hatchet uses the same `$signature` syntax as Laravel, [see here](https://laravel.com/docs/5.6/artisan#writing-commands) for more information.

Hatchet `Command` is a subclass of Symfony's `Command` object, for more information on how to implement the `execute()` function [see here](https://symfony.com/doc/current/console.html).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 94.6% 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

Every ~282 days

Recently: every ~388 days

Total

7

Last Release

1139d ago

PHP version history (3 changes)v1.0.0PHP ^7.1.3

v1.1.1PHP ^7.3.0||^8.0.0

v1.1.2PHP ^8.0.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1554376?v=4)[Rareloop](/maintainers/rareloop)[@Rareloop](https://github.com/Rareloop)

---

Top Contributors

[![joelambert](https://avatars.githubusercontent.com/u/644362?v=4)](https://github.com/joelambert "joelambert (35 commits)")[![adamtomat](https://avatars.githubusercontent.com/u/2631499?v=4)](https://github.com/adamtomat "adamtomat (1 commits)")[![WolfieZero](https://avatars.githubusercontent.com/u/648761?v=4)](https://github.com/WolfieZero "WolfieZero (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rareloop-hatchet/health.svg)

```
[![Health](https://phpackages.com/badges/rareloop-hatchet/health.svg)](https://phpackages.com/packages/rareloop-hatchet)
```

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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