Skip to content

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

License

Notifications You must be signed in to change notification settings

PiotrPress/executor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Executor

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