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 Executor Laravel Package

keradus/cli-executor

Execute CLI commands from PHP with a simple, lightweight wrapper. Run processes, capture output, handle exit codes, and manage arguments for reliable command execution in scripts and Laravel apps.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: Excellent for Laravel's Symfony-based foundation. The package is a minimal wrapper around symfony/process (already in Laravel's dependencies), making it ideal for testing or tooling contexts where CLI execution is needed without reinventing process management. Fits naturally in test suites or artisan command workflows.

Integration feasibility: High. Composer installation is trivial, and the ScriptExecutor class integrates with existing Laravel test structures (e.g., PHPUnit) with minimal code changes. No complex configuration required for basic use cases.

Technical risk: High concern. License is NOASSERTION (legally ambiguous for commercial use), stars (4) and dependents (0) indicate negligible adoption. Future release date (2025-11-05) appears erroneous, suggesting potential data inaccuracies. Maintenance activity is low (last release >2 years ago), and the package is only used internally by PHP-CS-Fixer—no proven track record outside that context. High risk of unaddressed bugs or security issues.

Key questions:

  • Why is the license unasserted? What are the legal implications for production use?
  • Is the "2025-11-05" release date a data error? If not, what does this imply about repository health?
  • How does this package compare to Laravel's native Artisan::call() or Symfony's Process directly? Is the abstraction worth the risk?
  • Are there known security vulnerabilities in the dependency chain? (No security advisories found, but low adoption reduces scrutiny.)

Integration Approach

Stack fit: Optimal for Laravel 9+ (PHP 8.0+, Symfony 6/7) where symfony/process is already present. Best suited for test environments (e.g., verifying CLI tool behavior in feature tests) or internal dev tools—not production workloads. Avoid for critical business logic due to risk profile.

Migration path: Low-effort for test scenarios. Replace direct Process usage with ScriptExecutor in test files. Example:

// Before
$process = new Process(['php-cs-fixer', '
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
milesj/emojibase
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