Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cli Laravel Package

sebastianfeldmann/cli

Lightweight PHP library for building CLI tools: defines commands and options, parses argv, validates input, and renders help/usage output. Clean API for composing console applications with consistent argument handling and exit codes.

View on GitHub
Deep Wiki
Context7
3.4.2

What's Changed

New Contributors

Full Changelog: https://github.com/sebastianfeldmann/cli/compare/3.4.1...3.4.2

3.4.1

Fix issue #15

3.4.0

Add variable handling support

Creating commands like

$ MYVAR='foo' mycommand --option='something'

Can now be created by using the Command::addVar(name, value) method

3.3.3

Fix windows escaping

3.3.2

Properly escape whitespaces on windows - thanks to @Gaitholabi

3.3.1
  • PHP8 compatibility
3.3.0
3.2.8
  • Revert breaking changes for older Symfony versions - issue #9
3.2.7
3.2.6

Disable the Symfony default 60 second timeout

3.2.5
  • Allow older Symfony versions
3.2.4
3.2.3
3.2.2

Add Symfony processor

3.2.1
  • Fix unclosed pipe issue
3.2.0

Just some code cleanup and dependency updates

2.2.0

Add pipeFail feature

If active the command will use set -o pipefail; to fail the whole pipeline if one command in the pipeline fails.

3.1.0

Add pipeFail feature

If active the command will use set -o pipefail; to fail the whole pipeline if one command in the pipeline fails.

3.0.0

Drop php 7.0 support

  • Add new iterable and void return types
  • Remove php 7.0 travis build
  • Add php version badge
2.1.0

Add new output utility class to handle empty line trimming

2.0.1

Fix issue #1 - Infinite look on empty stdOut

2.0.0

Allow definition of acceptable exit codes

Sometimes you want to accept different exit codes then just 0. This is useful for binaries that exit with exit codes other then 0 to signal warnings or other maybe acceptable states. By setting those different exit codes as acceptable, you prevent the runner from throwing a runtime exception.

BC Breaks

The Command and Processor interfaces had to be changed to support the new feature.

1.0.5

Some minor exception message enhancement

1.0.4

Add util class

1.0.3
1.0.2
1.0.1

Add output redirection info to results.

1.0.0

First stable release.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4