PHPackages                             pingu1/packaged-cilex - 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. pingu1/packaged-cilex

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

pingu1/packaged-cilex
=====================

A packaged version of Cilex Framework with clean project architecture

1.0.3(8y ago)015MITPHP

Since May 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/pingu1/packaged-cilex)[ Packagist](https://packagist.org/packages/pingu1/packaged-cilex)[ Docs](https://github.com/pingu1/packaged-cilex)[ RSS](/packages/pingu1-packaged-cilex/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Packaged Cilex, a clean version of Cilex with isolated code
===========================================================

[](#packaged-cilex-a-clean-version-of-cilex-with-isolated-code)

[Cilex](https://github.com/Cilex/Cilex) is a simple command line application framework to develop simple tools based on [Symfony2](https://github.com/Cilex/Cilex) components. However, creating an application with Cilex requires to add your source code at the same level as the package source code, which is not really desirable when dealing with code updates. This version is embedding Cilex as a dependency in order to fully isolate your own code.

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

[](#installation)

1. Download composer: `curl -s https://getcomposer.org/installer | php`
2. Create a new project based on this one `composer.phar create-project pingu1/packaged-cilex test`
3. Init the Git repository in your new project `git init`

Usage
-----

[](#usage)

- Put your code in the `src/command/` folder
- Add additional directories as needed (`src/model/`, `src/helper/`, `src/library/` ...)
- Add your scripts to the `cilex` entry point (located at the root of the project)

```
$app->command(new \app\command\YourNamespaceHere());
```

- Run the script

```
./cilex hello
./cilex hello -h
./cilex hello renaud
./cilex hello renaud -y
./cilex hello renaud --yell
```

Bonus
-----

[](#bonus)

You can easily update the composer.json file to give another namespace than `app` to the application by updating the autoloader as follows:

```
"autoload": {
    "psr-4": {
        "YOUR_APP_NAME_HERE\\": "src/"
    }
}
```

Help and docs
-------------

[](#help-and-docs)

This repository is just a wrapper of the Cilex project, for additional question regarding how to use Cilex, please check the [Cilex project](https://github.com/Cilex/Cilex)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3281d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a26b838a7c1e14efc0aabcf69c6e60f72ca6a959f0c787daadc54680e222c20?d=identicon)[pingu1](/maintainers/pingu1)

---

Top Contributors

[![pingu1](https://avatars.githubusercontent.com/u/6096291?v=4)](https://github.com/pingu1 "pingu1 (2 commits)")

---

Tags

climicroframework

### Embed Badge

![Health badge](/badges/pingu1-packaged-cilex/health.svg)

```
[![Health](https://phpackages.com/badges/pingu1-packaged-cilex/health.svg)](https://phpackages.com/packages/pingu1-packaged-cilex)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[nunomaduro/collision

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

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

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[cilex/cilex

The PHP micro-framework for Command line tools based on the Symfony2 Components

6183.2M15](/packages/cilex-cilex)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)

PHPackages © 2026

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