PHPackages                             maslosoft/cli-shared - 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. maslosoft/cli-shared

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

maslosoft/cli-shared
====================

Shared CLI application components

2.0.5(1y ago)06.2k[1 issues](https://github.com/Maslosoft/CLIShared/issues)[2 PRs](https://github.com/Maslosoft/CLIShared/pulls)8AGPL-3.0-onlyPHPPHP &gt;=8.2CI passing

Since May 27Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/Maslosoft/CLIShared)[ Packagist](https://packagist.org/packages/maslosoft/cli-shared)[ Docs](https://maslosoft.com/cli-shared/)[ RSS](/packages/maslosoft-cli-shared/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (45)Used By (8)

[![Cli-shared Logo](https://camo.githubusercontent.com/0af0a89eaaa5bdf9e2ba275ecd81cc16bfa0fe5b88f4ee5d40f263ec06f291db/68747470733a2f2f6d61736c6f736f66742e636f6d2f636c692d7368617265642f636c692d7368617265642e737667)](https://maslosoft.com/cli-shared/) [Maslosoft Cli Shared](https://maslosoft.com/cli-shared/)
=====================================================================================================================================================================================================================================================================================================================

[](#-maslosoft-cli-shared)

[*Shared CLI application components*](https://maslosoft.com/cli-shared/)

[![Latest Stable Version](https://camo.githubusercontent.com/1586d021151ed083368c1fd0a8e397d22c77397e2bb19aa2e4f61e7d8703d80c/68747470733a2f2f706f7365722e707567782e6f72672f6d61736c6f736f66742f636c692d7368617265642f762f737461626c652e737667)](https://packagist.org/packages/maslosoft/cli-shared "Latest Stable Version")[![License](https://camo.githubusercontent.com/32512212013025003ff8e033c0a3f8793827dd3edc1d0d49487b37d665872cc6/68747470733a2f2f706f7365722e707567782e6f72672f6d61736c6f736f66742f636c692d7368617265642f6c6963656e73652e737667)](https://packagist.org/packages/maslosoft/cli-shared "License")### Quick Install

[](#quick-install)

```
composer require maslosoft/cli-shared
```

### Documentation

[](#documentation)

[Full Cli-shared Documentation](https://maslosoft.com/cli-shared/docs/)

Command Line Shared Components
==============================

[](#command-line-shared-components)

This library contains commonly used miscellaneous classes mostly useful in PHP command line interface applications.

This includes, but are not limited to:

- Kind of operating system type helper - whether it is Windows® or Linux
- Caching configuration file reader
- Inline logger compatible with PSR Logger Interface
- PHP data exporter similar to `var_export`

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance63

Regular maintenance activity

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity88

Battle-tested with a long release history

 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 ~91 days

Recently: every ~0 days

Total

42

Last Release

273d ago

Major Versions

0.0.22 → 1.0.02019-02-26

1.0.9 → 2.0.02022-11-30

1.0.9-p1 → 2.0.0-p12025-08-18

PHP version history (2 changes)1.0.6PHP &gt;=8

2.0.1PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![pmaselkowski](https://avatars.githubusercontent.com/u/520283?v=4)](https://github.com/pmaselkowski "pmaselkowski (136 commits)")

---

Tags

phpclicommand-linehelpers

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/maslosoft-cli-shared/health.svg)

```
[![Health](https://phpackages.com/badges/maslosoft-cli-shared/health.svg)](https://phpackages.com/packages/maslosoft-cli-shared)
```

###  Alternatives

[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[seregazhuk/php-watcher

Automatically restart PHP application once the source code changes

394137.8k4](/packages/seregazhuk-php-watcher)[nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

662.0M3](/packages/nunomaduro-laravel-console-summary)[nunomaduro/laravel-console-dusk

Laravel Console Dusk allows the usage of Laravel Dusk in Laravel/Laravel Zero artisan commands.

16255.4k7](/packages/nunomaduro-laravel-console-dusk)

PHPackages © 2026

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