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

ActiveLibrary

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 2d 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 37% 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

3099d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c050bc4fe5100fc158eaa33a3adbdbf3464a4234b18ac31723d27371b3a56334?d=identicon)[MrJulio](/maintainers/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

[filp/whoops

php error handling for cool kids

13.2k402.4M1.4k](/packages/filp-whoops)[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k497.0M23.6k](/packages/mockery-mockery)[league/iso3166

ISO 3166-1 PHP Library

69536.3M116](/packages/league-iso3166)[dekor/php-array-table

PHP Library for printing associative arrays as text table (similar to mysql terminal console)

296.6M2](/packages/dekor-php-array-table)[ecentria/ecentria-rest-bundle

Goal of this bundle is to simplify process of creating APIs with Symfony. We use already well-coded libraries, combine them together to simplify process and not to re-invent the wheel. We've chose REST and HATEOS to have unified standards of API requests and responses.

142.4k](/packages/ecentria-ecentria-rest-bundle)

PHPackages © 2026

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