dev-develop
dev-developTerminal shell command in laravel
MIT
The Requires
- php ~5.5|~7.0
- illuminate/support ~5.1
The Development Requires
by Alireza Josheghani
laravel command terminal php-shellcommand
Wallogit.com
2017 © Pedro Peláez
Terminal shell command in laravel
Run shell command easy in your laravel projects, (*2)
The package is in process., (*3)
Via Composer, (*4)
``` bash $ composer require josh/laravel-terminal, (*5)
## Config Add the following provider to providers part of config/app.php ``` php Josh\Terminal\TerminalServiceProvider::class
and the following Facade to the aliases part ``` php 'Terminal' => Josh\Terminal\TerminalFacade::class, (*6)
and then run ``` bash php artisan vendor:publish
for generating terminal config file into main config directory, (*7)
You can run Terminal shell commands in laravel just like this:, (*8)
$response = \Terminal::command('ls')->execute();
and you can get output of command just like this:, (*9)
return $response->getBody()->getContents();
The MIT License (MIT). Please see License File for more information., (*10)
Terminal shell command in laravel
MIT
laravel command terminal php-shellcommand