PHPackages                             mrjulio/rapture-command - 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. mrjulio/rapture-command

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

mrjulio/rapture-command
=======================

Rapture CLI command component

v1.0.1(8y ago)014MITPHPPHP &gt;=5.4.0

Since Jun 15Pushed 8y agoCompare

[ Source](https://github.com/mrjulio/rapture-command)[ Packagist](https://packagist.org/packages/mrjulio/rapture-command)[ Docs](http://rapture.iuliann.ro)[ RSS](/packages/mrjulio-rapture-command/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Rapture PHP command component
=============================

[](#rapture-php-command-component)

[![PhpVersion](https://camo.githubusercontent.com/b3b25db823332877216c2e619ac9bd10df392da948c782b2c4092064530afa61/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](#)[![License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](#)

Simple PHP command class.

Requirements
------------

[](#requirements)

- PHP v5.4

Install
-------

[](#install)

```
composer require mrjulio/rapture-command

```

Quick start
-----------

[](#quick-start)

```
namespace AppName\Domain\Command;

class DayOfWeek extends Command
{
	public static function getOptions()
    {
        return [
            'd' => ['date', self::REQUIRED, 'Date', null],
        ];
    }

    public function execute()
    {
    	$date = new \DateTime($this->getOption('date'));

        $this->output($date->format('W'));
    }
}
```

```
# run inside \AppName\Domain\Command
php console.php --cmd=DayOfWeek --env=dev --date=2017-01-01
```

About
-----

[](#about)

### Author

[](#author)

Iulian N. `rapture@iuliann.ro`

### Testing

[](#testing)

```
cd ./test && phpunit

```

### License

[](#license)

Rapture PHP command is licensed under the MIT License - see the `LICENSE` file for details.

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Every ~156 days

Total

2

Last Release

3145d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1187463?v=4)[MrJulio](/maintainers/MrJulio)[@mrjulio](https://github.com/mrjulio)

---

Top Contributors

[![mrjulio](https://avatars.githubusercontent.com/u/1187463?v=4)](https://github.com/mrjulio "mrjulio (3 commits)")

---

Tags

library

### Embed Badge

![Health badge](/badges/mrjulio-rapture-command/health.svg)

```
[![Health](https://phpackages.com/badges/mrjulio-rapture-command/health.svg)](https://phpackages.com/packages/mrjulio-rapture-command)
```

###  Alternatives

[ollyxar/php-malware-detector

PHP malware detector

13027.1k](/packages/ollyxar-php-malware-detector)[toolkit/cli-utils

useful cli tool library of the php

20230.2k17](/packages/toolkit-cli-utils)[eddiriarte/console-select

A fancy selection interface for symfony's console component.

127.2k2](/packages/eddiriarte-console-select)

PHPackages © 2026

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