piotrpress/executor

This library is an object wrapper for an exec PHP function.

v1.0.0 2021-09-02 16:11 UTC

This package is auto-updated.

Last update: 2024-11-29 06:23:01 UTC


README

This library is an object wrapper for an exec PHP function.

Installation

composer require piotrpress/executor

Usage

require __DIR__ . '/vendor/autoload.php';

use PiotrPress;

$result = new Executor( 'ls' );

$result->getOutput();
$result->getReturn();
$result->isSuccess(); 
$result->isFailure();

echo $result;

Requirements

PHP >= 7.4 version.

License

GPL3.0