PHPackages                             alnutile/example\_cli - 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. alnutile/example\_cli

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

alnutile/example\_cli
=====================

Foo

08PHP

Since Jun 18Pushed 8y agoCompare

[ Source](https://github.com/alnutile/example_cli)[ Packagist](https://packagist.org/packages/alnutile/example_cli)[ RSS](/packages/alnutile-example-cli/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

example
=======

[](#example)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e17395005565e0b55f85c60d869da4174f62b8edd0bc15a8571512711a0eb3c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c6e7574696c652f6578616d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alnutile/example)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/cfc6e9d28089135b33d237b8fdbc4e72a494b89f7d985208f3f7f851c2bfaf85/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616c6e7574696c652f6578616d706c652f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/alnutile/example)[![Coverage Status](https://camo.githubusercontent.com/0c966bbf81612d9c6dec3b2cdc4f55826d8ff030301fa4832f0384f8a61f0a4e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f616c6e7574696c652f6578616d706c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/alnutile/example/code-structure)[![Quality Score](https://camo.githubusercontent.com/c4610085e9178871e5c0e02324c50a91a0372503fbb83a300315bd7fa381e46f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f616c6e7574696c652f6578616d706c652e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/alnutile/example)[![Total Downloads](https://camo.githubusercontent.com/51fb6aca843d567e8e4aa0ddf3e34f6f6f14ea4c1ff1a013d427da8454ffd20a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c6e7574696c652f6578616d706c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alnutile/example)

**Note:** Replace `Al Nutile` `alnutile` `https://github.com/alnutile` `alfrednutile@gmail.com` `alnutile` `example` `Foo` with their correct values in [README.md](README.md), [CHANGELOG.md](CHANGELOG.md), [CONTRIBUTING.md](CONTRIBUTING.md), [LICENSE.md](LICENSE.md) and [composer.json](composer.json) files, then delete this line. You can run `$ php prefill.php` in the command line to make all replacements at once. Delete the file prefill.php as well.

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

This will create a CLI foundation using [Silly](https://github.com/mnapoli/silly)

It is based off the [thephpleague/skeleton](https://github.com/thephpleague/skeleton) library

> THIS IS 99% BASED ON TOTALLY APPRECIATE THEIR WORK

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practises by being named the following.

```
bin/
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
$ composer require alnutile/example
```

Global Install Notes
--------------------

[](#global-install-notes)

This is how a user can install this for a reliable global install:

Usage
-----

[](#usage)

```
$skeleton = new Alnutile\Example();
echo $skeleton->echoPhrase('League!', 'Hello');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

> if you get an error change the extend of `src/SkeletonClass.php` to `\PHPUnit\Framework\TestCase`your install might have setup PHPUnit 6

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Al Nutile](https://github.com/alnutile)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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/da51f2fb140a4e118e94dd59ff819c11dd9a656b9c0ff8b2074c5fd2c07978ee?d=identicon)[alnutile](/maintainers/alnutile)

---

Top Contributors

[![alnutile](https://avatars.githubusercontent.com/u/365385?v=4)](https://github.com/alnutile "alnutile (6 commits)")

### Embed Badge

![Health badge](/badges/alnutile-example-cli/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

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

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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