Skip to content

lucajackal85/BinLocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BinLocator

Latest Stable Version Total Downloads Latest Unstable Version License Scrutinizer Code Quality Build Status

Installation

composer require jackal/bin-locator

##Usage

Get executable path in your local system

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

$locator = new \Jackal\BinLocator\BinLocator('php');

var_dump($locator->locate()); 

Get Process instance

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

$locator = new \Jackal\BinLocator\BinLocator('ls');

$process = $locator->getProcess(['-la']);

$process->run();

var_dump($process->getOutput());

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages