2017 © Pedro Peláez
 

library laravel-terminal

Terminal shell command in laravel

image

josh/laravel-terminal

Terminal shell command in laravel

  • Sunday, February 11, 2018
  • by iamalirezaj
  • Repository
  • 1 Watchers
  • 4 Stars
  • 61 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 177 % Grown

The README.md

Build Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Laravel Terminal package

Run shell command easy in your laravel projects, (*2)

The package is in process., (*3)

Requirement

  • Laravel ^6
  • PHP ^7.2

Install

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)

Usage

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();

License

The MIT License (MIT). Please see License File for more information., (*10)

The Versions

11/02 2018

dev-develop

dev-develop

Terminal shell command in laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alireza Josheghani

laravel command terminal php-shellcommand