PHP Package: mikehaertl/php-shellcommand

PHP library providing shell command execution functionality with robust error handling and output capturing

Current Version: 1.7.0
Last Updated: 2023-04-19
PHP Requirement: >= 5.3.0
Dependencies:
symfony/process
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

php-shellcommand is a versatile PHP library designed for executing shell commands efficiently. With a focus on error handling and output capture, it simplifies command execution tasks. This library ensures secure shell operations and flexibility in managing command outputs within PHP applications. It is a reliable tool for developers seeking seamless integration of shell commands in their PHP projects, enhancing automation and system interaction capabilities.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.7.0

Download Download v1.7.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/mikehaertl/php-shellcommand/1.7.0/loader.php';
require_once 'libs/symfony/process/7.3.4/loader.php';

use MikeHaertl\ShellCommand\Command;

$obj = new Command();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.