# minicli/minicli

A minimal framework for command-line applications in PHP. Join our Discord: https://discord.gg/hY5UNC4XPf

Repository: https://github.com/minicli/minicli
Canonical: https://ross.abutalabs.com/products/minicli
Homepage: https://docs.minicli.dev/
Language: PHP
License: MIT
License Family: permissive
Topics: cli, php, command-line, command-line-tools, hacktoberfest
Last push: 2026-02-13T16:06:50+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 67, release rhythm 8, longevity 100
- inputs: {"age_days": 2539, "days_push": 201, "days_rel": 512, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1084, forks 57 (observed 2026-08-28T04:03:31.445297+00:00)

## What it is
Minicli is a minimalist, dependency-free PHP framework for building command-line applications. It provides structured command organization via namespaces and helpers for arguments, user input, and colored terminal output.

## Use cases
- build a cli tool in php
- create command-line application with subcommands
- parse command arguments in a php cli script
- prompt user for input in terminal
- print colored output in terminal
- organize cli commands into controllers

## When to choose
- you want a lightweight php cli framework with zero userland dependencies
- you need structured command and subcommand organization
- you want to build cli apps on php 8.1+ without heavy dependencies

## When to avoid
- you need a full-featured cli framework with extensive plugin ecosystem
- your project is not in php
- you need rich interactive terminal ui components

## Facets
- artifact type: framework
- maturity: active
- function: cli, web-framework
- domain: developer-tools
- platform: cli, php, windows
- tags: php, command-line-applications, dependency-free, command-namespaces, cli-framework, command-line, automation, linux, macos

## Member repositories
- minicli/minicli (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:31.445297+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:50:06.122890+00:00, confidence not recorded.
  - readme: https://github.com/minicli/minicli (fetched 2026-08-28T04:03:31.445297+00:00, sha d66322825fa6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
