PHPackages                             ballen/clip - 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. ballen/clip

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

ballen/clip
===========

A package for speeding up development of PHP console (CLI) applications.

3.0.4(3y ago)3815↓100%[2 issues](https://github.com/allebb/clip/issues)[1 PRs](https://github.com/allebb/clip/pulls)MITPHPPHP ^7.3.0|^8.0CI passing

Since Dec 22Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/allebb/clip)[ Packagist](https://packagist.org/packages/ballen/clip)[ RSS](/packages/ballen-clip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (0)

Clip
====

[](#clip)

[![Build](https://github.com/allebb/clip/workflows/build/badge.svg)](https://github.com/allebb/clip/actions)[![Code Coverage](https://camo.githubusercontent.com/63a8f074c7b476602ef9e663e0b45cda63c313a472d14de95b4749ba47b023d9/68747470733a2f2f636f6465636f762e696f2f67682f616c6c6562622f636c69702f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/allebb/clip)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6dd3efcf7c0c150ebc208cf3668a544b770b38705a6bbf78d43559a1e75180db/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c6c6562622f636c69702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/allebb/clip/?branch=master)[![Code Climate](https://camo.githubusercontent.com/f9e48dd2ed7265e0ebcfa2c7c5f9c45e16a5900e107323991d793a3365588b8a/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f616c6c6562622f636c69702f6261646765732f6770612e737667)](https://codeclimate.com/github/allebb/clip)[![Latest Stable Version](https://camo.githubusercontent.com/f6b4d2a57278461cabe1ae6b205cae2d2208adbef513dc43b9f4bc365e35256f/68747470733a2f2f706f7365722e707567782e6f72672f62616c6c656e2f636c69702f762f737461626c65)](https://packagist.org/packages/ballen/cartographer)[![Latest Unstable Version](https://camo.githubusercontent.com/15ee2ae639a59005215ee6a7f80cd9d704554e335251705bbd337ab0ca089525/68747470733a2f2f706f7365722e707567782e6f72672f62616c6c656e2f636c69702f762f756e737461626c65)](https://packagist.org/packages/ballen/clip)[![License](https://camo.githubusercontent.com/f0a54159ba945635d67af78260ff00121a30ddaf340113ed5c8628d215bc3b22/68747470733a2f2f706f7365722e707567782e6f72672f62616c6c656e2f636c69702f6c6963656e7365)](https://packagist.org/packages/ballen/clip)

A super-lightweight package for speeding up development of PHP console (CLI) applications.

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

[](#requirements)

This library is unit tested against PHP 7.3, 7.4, 8.0, 8.1 and 8.2!

If you need to use an older version of PHP, you should instead install the 2.x version of this library (see below for details).

License
-------

[](#license)

This client library is released under the MIT license, a [copy of the license](https://github.com/allebb/clip/blob/master/LICENSE) is provided in this package.

Setup
-----

[](#setup)

To install the latest version of this package into your project (assuming you are using the Composer package manager) you can simply execute the following command from your terminal in the root of your project folder:

`composer require ballen/clip`

**If you need to use an older version of PHP, version 2.x.x supports PHP 5.6, 7.0, 7.1 and 7.2, you can install this version using Composer with this command instead:**

```
composer require ballen/clip ^2.0
```

Support
-------

[](#support)

I am happy to provide support via. my personal email address, so if you need a hand drop me an email at: ballen@bobbyallen.me.

###  Health Score

40

—

FairBetter than 87% of packages

Maintenance44

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity75

Established project with proven stability

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

Recently: every ~183 days

Total

10

Last Release

1231d ago

Major Versions

1.1.0 → 2.0.02016-01-19

2.2.0 → 3.0.02020-12-22

PHP version history (5 changes)1.0.0PHP &gt;=5.4.0

2.2.0PHP &gt;=5.5.0

3.0.0PHP &gt;=7.2.0

3.0.1PHP &gt;=7.3.0

3.0.3PHP ^7.3.0|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/4729a376aa8281d9456a90c000e991aa605c96f15251469acd5a7a5c6cdde2e6?d=identicon)[allebb](/maintainers/allebb)

---

Top Contributors

[![allebb](https://avatars.githubusercontent.com/u/767628?v=4)](https://github.com/allebb "allebb (58 commits)")

---

Tags

clicommandphpphp-consolescriptscliconsolecommandcommands

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ballen-clip/health.svg)

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

###  Alternatives

[aplus/cli

Aplus Framework CLI Library

2301.7M6](/packages/aplus-cli)[helhum/typo3-console

A reliable and powerful command line interface for TYPO3 CMS

2939.0M192](/packages/helhum-typo3-console)[adhocore/cli

Command line interface library for PHP

3501.2M50](/packages/adhocore-cli)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[maximebf/consolekit

Library to create command line utilities

114104.4k9](/packages/maximebf-consolekit)[inhere/console

php console library, provide console argument parse, console controller/command run, color style, user interactive, information show.

3477.4k12](/packages/inhere-console)

PHPackages © 2026

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