PHPackages                             whagency/php-cli-framework - 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. [Framework](/categories/framework)
4. /
5. whagency/php-cli-framework

ActiveProject[Framework](/categories/framework)

whagency/php-cli-framework
==========================

PHP CLI framework

1.0.2(7y ago)110MITPHPPHP &gt;=5.4.0

Since Jun 26Pushed 3y agoCompare

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

READMEChangelogDependencies (7)Versions (2)Used By (0)

php-cli-framework
=================

[](#php-cli-framework)

PHP CLI framework - good console solution for developing and performing modules for regular tasks with CRON and casual one time tasks like operating with data of the remote databases, export and import popular datatypes, load and optimize images etc.

Directory structure
-------------------

[](#directory-structure)

```
files/		contains files of all modules
tmp/		contains tempory files and logs
vendor/		contains dependent 3rd-party packages
webheads/	contains core classes of the framework and custom classes and libs
```

Included libs
-------------

[](#included-libs)

- [PhpSpreadsheet](https://phpspreadsheet.readthedocs.io/en/develop/) - PHP library for reading and writing spreadsheet files
- [ActiveRecord](http://www.phpactiverecord.org) - access data in a database
- [ImageWorkshop](http://phpimageworkshop.com) - library that helps you to manage images
- [TinyPNG](https://tinypng.com) - optimization images
- [CLImate](https://climate.thephpleague.com) - library for output colored text, special formats, and other in terminal
- [mPDF](https://mpdf.github.io) - generate PDF files from HTML with Unicode/UTF-8 and CJK support
- [cli-progress-bar](https://github.com/dariuszp/cli-progress-bar) - progress bar for cli apps

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

1. Install framework to you directory, for example `php-cli-framework`

```
php composer.phar create-project --prefer-dist whagency/php-cli-framework php-cli-framework

```

2. Go to the installation directory

```
cd php-cli-framework

```

3. Run framework via console

```
php core
// base starting

php core info
// display all modules and action list

php core add
// add new module and/or action

php core module/action
// run my custom module/action

```

4. Also, you can run framework in WEB mode with your web server

```
http://localhost/php-cli-framework/module/action

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2880d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a80b722075e3a60545da46e4a83ae2b0a05c197d779378ee70f6f3924b1f027?d=identicon)[whagency](/maintainers/whagency)

---

Top Contributors

[![whagency](https://avatars.githubusercontent.com/u/40386084?v=4)](https://github.com/whagency "whagency (10 commits)")

---

Tags

phpcliconsoleframeworkcron

### Embed Badge

![Health badge](/badges/whagency-php-cli-framework/health.svg)

```
[![Health](https://phpackages.com/badges/whagency-php-cli-framework/health.svg)](https://phpackages.com/packages/whagency-php-cli-framework)
```

###  Alternatives

[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[utopia-php/cli

A simple CLI library to manage command line applications

41396.4k10](/packages/utopia-php-cli)

PHPackages © 2026

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