w3lifer/php-shell

1.0.1 2025-02-16 13:21 UTC

This package is auto-updated.

Last update: 2025-03-30 12:38:55 UTC


README

Installation

composer require w3lifer/php-shell

Usage

Methods

  • public function ask(string $question): string
  • public function exec(string $command, bool $printCommand = false): array
  • public function shell_exec(string $command, bool $printCommand = false): false|null|string
  • public function system(string $command, bool $printCommand = false): array
  • public function printLine(string $line): void
  • public function printTitle(string $title): void
  • public function getArgument(int $sequentialNumber): string

Tests

make tests