PackageTrack
Sign in Get early access

adhocore/cli

Command line interface library for PHP

v1.9.4 1.5M downloads/mo #2641 most downloaded on Packagist adhocore/php-cli

What this package is like to depend on

Last release 1 years ago

11 May 2025

Ships fairly regularly

a new release about every 2 months

Most releases are documented

notes for 34 of 53 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

53 releases · first in 2018

0 releases in the last 12 months

see the full history below

Release timeline

52 releases · Jul 2018 to May 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 53
  1. v1.9.4 11 May 2025
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.9.3...v1.9.4

    Open source →
    Release notes

    Version v1.9.4 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. v1.9.3 04 Dec 2024
    Release notes

    What's Changed

    Full Changelog: v1.9.2...v1.9.3

    Open source →
    Release notes

    v1.9.3

    Compare

    Choose a tag to compare

    Open source →
  3. v1.9.2 01 Dec 2024
    Release notes

    What's Changed

    Full Changelog: v1.9.1...v1.9.2

    Open source →
    Release notes

    Version v1.9.2

    Compare

    Choose a tag to compare

    Open source →
  4. v1.9.1 29 Nov 2024
    Release notes

    What's Changed

    Full Changelog: v1.9.0...v1.9.1

    Open source →
    Release notes

    Version v1.9.1

    Compare

    Choose a tag to compare

    Open source →
  5. v1.9.0 26 Nov 2024
    Release notes

    What's Changed

    • Make all written text built-in styles so that their styles can be customized by @kodie in #111
    • Add support for custom help screens by @kodie in #113
    • Add support for outputting 256 colors and also add documentation about default command functionality by @kodie in #110
    • Add logo support for commands (rebased) by @kodie in #116

    Full Changelog: v1.8.1...v1.9.0

    Open source →
    Release notes

    Version 1.9.0

    Compare

    Choose a tag to compare

    Open source →
  6. v1.8.1 20 Nov 2024
    Release notes

    What's Changed

    • Apply fixes from StyleCI by @adhocore in #108
    • Allow for custom default command execution without arguments by @kodie in #109

    New Contributors

    Full Changelog: v1.8.0...v1.8.1

    Open source →
    Release notes

    v1.8.1

    Compare

    Choose a tag to compare

    Open source →
  7. v1.8.0 15 Nov 2024
    Release notes

    What's Changed

    Full Changelog: v1.7.2...v1.8.0

    Open source →
    Release notes

    v1.8.0

    Compare

    Choose a tag to compare

    Open source →
  8. v1.7.2 05 Sep 2024
    Release notes

    What's Changed

    • fix dynamic property deprecation notice in testsuite on php 8.3 by @lubiana in #103
    • make parameters with null default value explicitly nullable by @lubiana in #104

    New Contributors

    Full Changelog: v.1.7.0...v1.7.2

    Open source →
    Release notes

    Version v1.7.2

    Compare

    Choose a tag to compare

    Open source →
  9. v1.7.1 28 Mar 2024
    Release notes

    Full Changelog: v1.7.0...v1.7.1

    Open source →
    Release notes

    fix: negative $times for str_repeat, tests

    Open source →
    Release notes

    Version v1.7.1 (== v1.7.0)

    Compare

    Choose a tag to compare

    Open source →
  10. v1.7.0 no date
    Release notes

    Version v1.7.0 (Progressbar Labels, Justify content)

    Compare

    Choose a tag to compare

    Open source →
  11. v1.6.2 22 Jan 2024

    Nothing published for this version

  12. v1.6.1 26 Jun 2023

    Nothing published for this version

  13. v1.6.0 20 Apr 2023

    Nothing published for this version

  14. v1.5.0 30 Mar 2023

    Nothing published for this version

  15. v1.4.0 25 Mar 2023

    Nothing published for this version

  16. v1.3.1 11 Feb 2023

    Nothing published for this version

  17. v1.3.0 11 Feb 2023

    Nothing published for this version

  18. v1.2.0 08 Oct 2022
    Release notes

    Features

    • App: Set common group to commands set via callable (Jitendra Adhikari) 6c6e53c
    • Helper: Support grouped sorting for show help (Jitendra Adhikari) 314a887
    • Input: Add Groupable interface, make Command groupable (Jitendra Adhikari) 29b09ce

    Bug Fixes

    • Adapt for strict type php8 (Jitendra Adhikari) 8198969

    Internal Refactors

    • *****: Use imports instead of FQN (Jitendra Adhikari) bd0a70c

    Miscellaneous

    • Travis: Retire it :( (Jitendra Adhikari) 70e510b

    Documentations

    • Add Grouping commands section (Jitendra Adhikari) 3e05837

    Builds

    • Workflow: Add github action build (Jitendra Adhikari) 9b4da7d
    Open source →
  19. v1.0.1 05 Jul 2022
    Release notes

    Bug Fixes

    • Correct io() fallback mechanism (Daniel Jakob) 4072eaf
    Open source →
  20. v1.0.0 30 Jun 2022
    Release notes

    Bug Fixes

    • Shell: Exitcode is null first (Jitendra Adhikari)

    Internal Refactors

    • Add typehints, remove redundant docblocks (Jitendra Adhikari)
    • Use php8 syntax (Jitendra Adhikari)

    Miscellaneous

    • Typehint (Jitendra)
    • Run on >= php8 (Jitendra Adhikari)
    • Use php8 deps (Jitendra Adhikari)
    Open source →
  21. 0.9.1 18 Feb 2022
    Release notes

    Bug Fixes

    • Php8.1 substr, d197dc6 (Jitendra A)
    Open source →
  22. 0.9.0 06 Jan 2021

    Nothing published for this version

  23. 0.8.4 09 Oct 2020
    Release notes

    Builds

    • Travis: Add php 7.3 and 7.4 (Jitendra Adhikari) a5c4a16
    Open source →
  24. 0.8.3 05 Jan 2020
    Release notes

    Internal Refactors

    • App: Extract cmd not found to outputhelper (Jitendra Adhikari) c317634
    Open source →
  25. 0.8.2 03 Jan 2020
    Release notes

    Bug Fixes

    • Normalizer: Complex option containing value delimited by = (Jitendra Adhikari) 5d5394a
    Open source →
  26. 0.8.1 03 Jan 2020
    Release notes

    Bug Fixes

    • Cmd.action: Can be array too (besides closure/null) (Jitendra Adhikari) 238c8b1
    Open source →
  27. 0.8.0 03 Jan 2020
    Release notes

    Features

    • Cmd.action: Bind to $this (Jitendra Adhikari) c479995

    Documentations

    • Add credits, update license year (Jitendra Adhikari) 2bf08c5
    Open source →
  28. 0.7.3 03 Jan 2020
    Release notes

    Internal Refactors

    • App: Add onExit prop, execute or action can return exit code (Jitendra Adhikari) 1e754a8

    Documentations

    • About cmd exit code (Jitendra Adhikari) 32d45c2
    • About cmd usage ($0 and ##) (Jitendra Adhikari) 2319370
    Open source →
  29. 0.7.2 02 Jan 2020
    Release notes

    Bug Fixes

    • Cmd.help: Usage label was printed even if no text (Jitendra Adhikari) 4639624
    Open source →
  30. 0.7.1 02 Jan 2020
    Release notes

    Bug Fixes

    • Phpunit: Rm xml.syntaxCheck (Jitendra Adhikari) 6ae66b0

    Internal Refactors

    • Interactor: Reduce complexity in prompt (Jitendra Adhikari) dd008af

    Miscellaneous

    • Composer: Tweak script.test (Jitendra Adhikari) 9b8ee5d
    • Travis: Script (Jitendra Adhikari) c41e256
    Open source →
  31. 0.7.0 30 Dec 2019
    Release notes

    Bug Fixes

    • Output.helper: Pad ## (Jitendra Adhikari) 73a4a4e
    • Normalizer: Invert bool iff type is bool not value (Jitendra Adhikari) 6ff4acd

    Internal Refactors

    • Option: Improve bool() check (Jitendra Adhikari) e7e95e3
    Open source →
  32. 0.6.2 30 Dec 2019
    Release notes

    Bug Fixes

    • Color: Comment line shows white trailing bar (daemonu) b578d9a
    Open source →
  33. 0.6.1 29 Dec 2019
    Release notes

    Miscellaneous

    • Extend exception from throwable (Jitendra Adhikari) ab6b351
    Open source →
  34. 0.6.0 26 Dec 2019
    Release notes

    Features

    • Table: Add table renderer class (Jitendra Adhikari) 808e80e
    • Reader: Add readAll() (Jitendra Adhikari) 9264082
    • Output: Add show usage (Jitendra Adhikari) 1356515
    • Reader: Add read piped (Jitendra Adhikari) 790f2a1

    Internal Refactors

    • Reader: Visibility (Jitendra Adhikari) bcea11b
    • Writer: Use Table::render instead (Jitendra Adhikari) f0f33ee
    • Command: Use helper showUsage() instead (Jitendra Adhikari) ef5ea2b

    Miscellaneous

    • Composer: Add test scripts (Jitendra Adhikari) 4d292ca
    • Color: Add dark and light gray colors (Jitendra Adhikari) 2d4051d

    Documentations

    • Add readAll() usage (Jitendra Adhikari) 62cbfd0
    • Update intro and credits (Jitendra Adhikari) 7cbaae6
    • Add readHidden, readPiped usage (Jitendra Adhikari) 57dae5e
    Open source →
  35. 0.5.0 16 Sep 2019
    Release notes

    Features

    • Reader: Add read hidden for win os (Jitendra Adhikari) 742c622

    Internal Refactors

    • Interactor: Prompt hidden now supported in win os (Jitendra Adhikari) 491d162

    Documentations

    • Add a note about hidden prompt on win os (Jitendra Adhikari) 43fe762
    Open source →
  36. 0.4.0 07 Sep 2019
    Release notes

    Features

    • Interactor: Add promptHidden (unix only) (Jitendra Adhikari) 1eb06c6
    • Reader: Add readHidden (Jitendra Adhikari) 3628331

    Documentations

    • About hidden prompt (Jitendra Adhikari) af086f9
    Open source →
  37. 0.3.3 09 Mar 2019
    Release notes
    • 573d3c1 refactor: remove sc folder and update readme with imgur link (Sushil Gupta)
    • 121ab6c refactor(plugin): use gawk, cleanup (Jitendra Adhikari)
    • aeaf5f4 refactor(plugin): phpcli => ahccli (Jitendra Adhikari)
    • e625fd0 chore: phpcli => ahccli (Jitendra Adhikari)
    • 9e31caf docs: improve auto completion docs, rename phpcli to ahccli (Jitendra Adhikari)
    Open source →
  38. 0.3.2 06 Sep 2018
    Release notes
    • 6e8755f docs: autocompletion (Jitendra Adhikari)
    • 1152671 chore(zsh.plugin): auto complete provider for zsh with oh-my-zsh (Jitendra Adhikari)
    Open source →
  39. 0.3.1 06 Sep 2018
    Release notes
    • f390b6b refactor: remove redundant codeCoverageIgnore (Sushil Gupta)
    • cd8d109 refactor: minor refactor on messages + add isWindows() method using DIRECTORY_SEPARATOR check to set pipes (Sushil Gupta)
    Open source →
  40. 0.3.0 04 Sep 2018
    Release notes
    • a1c2c30 docs: add shell section and contributors (Jitendra Adhikari)
    • 5146260 test: shell tests (Jitendra Adhikari)
    • d1e8e73 refactor(shell): ignore cov, cleanup etc (Jitendra Adhikari)
    • 8d5ebe9 feat(shell): a shell wrapper (Jitendra Adhikari)
    • 37c0e4c Async true gives the process ID (Sushil Gupta)
    • 1052ca0 More style fixes (Sushil Gupta)
    • 989213f Style fixes (Sushil Gupta)
    • 29e8d13 If timeout is set, and is set to wait (not async by default), then either wait until it runs or kill it after timeout occurs - if async (not wait) - then don't care about the process at all (Sushil Gupta)
    • 7cf9536 If not async, then check for timeout if it is still running and attempt to stop it (Sushil Gupta)
    • 88bc092 Stop - not kill (Sushil Gupta)
    • 40ba003 Minor formatting fixed (Sushil Gupta)
    • f81237e Added set options method (Sushil Gupta)
    • 2d44553 On destruct, if running, waiting until timeout and then attempting to stop, instead of directly attempting to stop (Sushil Gupta)
    • acabcca Root namespace appended for microtime (Sushil Gupta)
    • e86580a Removed redundant unblocking of getOutput (Sushil Gupta)
    • 76fce1b Minor DocBlock update (Sushil Gupta)
    • 926c4a6 WIP - Implemented timeout checking and wait system - not working yet (Sushil Gupta)
    • 641d229 Minor refactor - removing updateProcessStatus when asking for getState - not related (Sushil Gupta)
    • 205daed Refactored to add another state variable to store actual state of the shell execution vs the process status (Sushil Gupta)
    • 62acd2d File default info added (Sushil Gupta)
    • acdbd64 Refactor - assigning default null + only assigning exit value if not already set and process has stopped (Sushil Gupta)
    • d742ecb Updating status before sending back exitcodes (Sushil Gupta)
    • 96e3a9e Made private methods protected (Sushil Gupta)
    • 3939825 Setting exit code on proc_close from the proc_get_status itself (Sushil Gupta)
    • 56ba25d Implemented suggestions from code-review (Sushil Gupta)
    • dbb3c21 Refactored small things (Sushil Gupta)
    • 13380da Removed timeout - not used anywhere for now (Sushil Gupta)
    • 2d0f815 One more style fix (Sushil Gupta)
    • e93b398 More style fixes :/ (Sushil Gupta)
    • 1be59a6 More style fixes (Sushil Gupta)
    • e43a34f More style fixes (Sushil Gupta)
    • 0874497 Style fixes - unindenting inside <?php tag (Sushil Gupta)
    • 5923304 Removed vdd (Sushil Gupta)
    • 304f148 Removed wait method - wasn't working - to be added (Sushil Gupta)
    • 735294c Removed env + cwd from the options, passing null, for the sprit of minimalism ;) (Sushil Gupta)
    • bfe1965 Added basic test case for getOutput (Sushil Gupta)
    • 4972de3 Moved to helper (Sushil Gupta)
    • 425af5e Added pipes for different platform, checking directory separator + added public method to return PID (Sushil Gupta)
    • 19ce603 Minor refactoring (Sushil Gupta)
    • 22a759a Moved public functions to the bottom (Sushil Gupta)
    • 87ed2e4 Made some methods private + added exitCode method (Sushil Gupta)
    • c4c4f4e Added wait and other methods (Sushil Gupta)
    • bd54feb Using constants for descriptors key (Sushil Gupta)
    • 4d8578e Minor refactoring (Sushil Gupta)
    • 1e42021 Shell wrapper - basic proc_open implemented (Sushil Gupta)
    Open source →
  41. 0.2.1 28 Aug 2018
    Release notes
    • 25c3f1a docs: improve readability and organize (Jitendra Adhikari)
    Open source →
  42. 0.2.0 21 Aug 2018
    Release notes
    • a75c76e feat(cmd.option): support multiline desc and indent them properly on help (Jitendra Adhikari)
    • 7b04d18 refactor: readme > README (Jitendra Adhikari)
    • 6e79204 docs: exceptions preview (Jitendra Adhikari)
    • c5ffb12 test: 100% cov ftw (Jitendra Adhikari)
    • 92f41ba feat(output.helper): add print trace (Jitendra Adhikari)
    • 7b5080e refactor(app): output helper instantiation and print trace (Jitendra Adhikari)
    Open source →
  43. 0.1.1 28 Jul 2018

    Nothing published for this version

  44. 0.1.0 28 Jul 2018

    Nothing published for this version

  45. 0.0.9 25 Jul 2018

    Nothing published for this version

  46. 0.0.8 24 Jul 2018

    Nothing published for this version

  47. 0.0.7 18 Jul 2018

    Nothing published for this version

  48. 0.0.6 17 Jul 2018

    Nothing published for this version

  49. 0.0.5 13 Jul 2018

    Nothing published for this version

  50. 0.0.4 13 Jul 2018

    Nothing published for this version

  51. 0.0.3 09 Jul 2018

    Nothing published for this version

  52. 0.0.2 07 Jul 2018

    Nothing published for this version

  53. 0.0.1 01 Jul 2018

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive