PHPackages                             bskrtich/phpcli - 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. bskrtich/phpcli

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

bskrtich/phpcli
===============

PHP CLI Classes

0427PHP

Since Sep 12Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

phpcli
======

[](#phpcli)

PHP CLI Tools including a logger class

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

[](#installation)

phpcli is installed via [Composer](https://getcomposer.org/). You just need to [add dependency](https://getcomposer.org/doc/04-schema.md#package-links%3E) on phpcli into your package.

Example:

```
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/bskrtich/phpcli.git"
        }
    ],
    "require": {
        "bskrtich/phpcli": "~v1.1"
    }
}
```

Example Use:

```
// Setup the cli logger
$logger = new \bskrtich\phpcli\Logger();
$logger->setTimeZone(new \DateTimeZone('America/Denver'));

// Set default env's from the environment
$logger::load_var('server_env');
$logger::load_var('db_env');
$logger::load_var('db_env_name');
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5fe6a7347d2e0ad07e4c3feda0e10675fec85bc6d313b6d2f400d662bb33b9a5?d=identicon)[bskrtich](/maintainers/bskrtich)

---

Top Contributors

[![hskrtich](https://avatars.githubusercontent.com/u/1214484?v=4)](https://github.com/hskrtich "hskrtich (31 commits)")

### Embed Badge

![Health badge](/badges/bskrtich-phpcli/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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