alqudiry / laravel-terminal
Terminal shell command in laravel
dev-master
2020-11-16 08:13 UTC
This package is auto-updated.
Last update: 2026-02-16 18:59:25 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();