alqudiry / laravel-terminal
Terminal shell command in laravel
Installs: 1 650
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
This package is auto-updated.
Last update: 2024-12-16 16:43:21 UTC
README
Run shell command easy in your laravel projects
This package is copy of MrJoshLab/laravel-terminal with some changes.
Install
Via Composer
$ composer require alqudiry/laravel-terminal
Usage
You can run Terminal shell commands in laravel just like this:
use Alqudiry\Terminal\Command; $command = new Command(); $response = $command->command('ls')->execute();
and you can get output of command just like this:
return $response->getBody()->getContents();