PHPackages                             potherca/cli2web - 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. potherca/cli2web

ActiveLibrary

potherca/cli2web
================

Automated web UI for any CLI command

v0.6.1(6y ago)21902[1 issues](https://github.com/Potherca/cli2web/issues)[2 PRs](https://github.com/Potherca/cli2web/pulls)GPL-3.0-or-laterPHPPHP ^5.6 | ^7.0

Since Oct 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Potherca/cli2web)[ Packagist](https://packagist.org/packages/potherca/cli2web)[ Docs](https://pother.ca/cli2web)[ RSS](/packages/potherca-cli2web/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

CLI2Web (CommandLine Interface to Web)
======================================

[](#cli2web-commandline-interface-to-web)

[![FOSSA Status](https://camo.githubusercontent.com/bb47ebdbfcf77e4362b03c769986f86949900c5df509eca9b95da8865e4eb053/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246506f746865726361253246636c69327765622e7376673f747970653d736869656c64)](https://app.fossa.io/projects/git%2Bgithub.com%2FPotherca%2Fcli2web?ref=badge_shield)

Introduction
------------

[](#introduction)

The aim of this project is to make it trivial to expose a shell script("command-line script" or "CLI script") as a web application.

This library offers conversion, logic and templates to gather user input, feed it to a shell script and render the output in the browser.

All that has to be provided is a shell script and configuration. Optionally logic can be added to compliment the input, output or render process.

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

[](#requirements)

- As this is a web application, it is assumed a web-server is available.
- This project is written in PHP. Any actively support version is fine.

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

[](#installation)

Installation is done using composer:

```
composer require potherca/cli2web

```

As this is a web application, it is assumed a web-server is available.

Usage
-----

[](#usage)

- Create an index file in a public facing directory in the web-server
- Include the cli2web engine
- Feed the engine a configuration
- Done.

For more advanced scenario's any of the following steps can also be taken:

- Add logic that is called with the user input
    (instead of the CLI script being called directly)
- Add logic that is called with the shell script output
    (instead of the output being displayed directly, "raw", as-is)
- Add custom UI to display the returned output (instead of the output being displayed as plain-text)

License
-------

[](#license)

[![FOSSA Status](https://camo.githubusercontent.com/de45b6926042dfb424c899684f4398ff4521d1302e09d10421c1141cac9375e2/68747470733a2f2f6170702e666f7373612e696f2f6170692f70726f6a656374732f6769742532426769746875622e636f6d253246506f746865726361253246636c69327765622e7376673f747970653d6c61726765)](https://app.fossa.io/projects/git%2Bgithub.com%2FPotherca%2Fcli2web?ref=badge_large)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance23

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.8% 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 ~57 days

Recently: every ~85 days

Total

7

Last Release

2441d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d28eb4761ba06d2495213e3c54d631682ad96c483ffb1ae023dc7b1293ac9314?d=identicon)[potherca](/maintainers/potherca)

---

Top Contributors

[![Potherca](https://avatars.githubusercontent.com/u/195757?v=4)](https://github.com/Potherca "Potherca (59 commits)")[![renovate-bot](https://avatars.githubusercontent.com/u/25180681?v=4)](https://github.com/renovate-bot "renovate-bot (4 commits)")[![CodeLingoBot](https://avatars.githubusercontent.com/u/45469328?v=4)](https://github.com/CodeLingoBot "CodeLingoBot (1 commits)")[![fossabot](https://avatars.githubusercontent.com/u/29791463?v=4)](https://github.com/fossabot "fossabot (1 commits)")

---

Tags

cli-utilitiescomposer-packagephpphp-librarypothercaweb-appweb-application

### Embed Badge

![Health badge](/badges/potherca-cli2web/health.svg)

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

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[acquia/orca

A tool for testing a company's software packages together in the context of a realistic, functioning, best practices Drupal build

32902.4k](/packages/acquia-orca)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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