A collection of PHP libraries, plugins, utilities and tools for wrapping, parsing, building command line interfaces, formatting, subcommands and more. Sourced under a permissive license. This list will be updated regularly. Email over the URL, if you wish to be included.

PHP libraries, plugins, utilities and tools for wrapping, parsing, building command line tools, formatting, subcommands

PHP libraries related to the command line.

  • Aura.Cli – Provides the equivalent of request ( Context ) and response ( Stdio ) objects for the command line interface, including Getopt support, and an independent Help object for describing commands.
  • Boris – A tiny PHP REPL.
  • Cilex – A micro framework for building command line tools.
  • CLI Menu – A library for building CLI menus.
  • CLIFramework – A command-line framework supports zsh/bash completion generation, subcommands and option constraints. It also powers phpbrew.
  • CLImate – A library for outputting colours and special formatting.
  • Commando – Another simple command line opt parser.
  • Cron Expression – A library to calculate cron run dates.
  • GetOpt – A command line opt parser.
  • GetOptionKit – Another command line opt parser.
  • PsySH – Another PHP REPL.
  • ShellWrap – A simple command line wrapper library.

Tags: PHP, PHP libraries, PHP utilities, PHP tools, PHP Plugins, php CLI menus, php command line parser, php cli parsers, command line option parser, command line opt parser, php subcommand parser, php commandline framework, php commandline bash, php bash parser, php bash, command line interfaces, aura.cli, boris, cilex, cli menu, cliframework, climate, commando, cron expression, getopt, getoptionkit, psysh, shellwrap, php command line colours, php command line special formatting, php command line wrapper