PHPackages                             mprince/laravel-terminal-execution - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. mprince/laravel-terminal-execution

ActiveLibrary[CLI &amp; Console](/categories/cli)

mprince/laravel-terminal-execution
==================================

Terminal shell command in laravel

01PHP

Since Mar 15Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mprince2k18/laravel-terminal-execution)[ Packagist](https://packagist.org/packages/mprince/laravel-terminal-execution)[ RSS](/packages/mprince-laravel-terminal-execution/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/18adff5192f56af78e8045723646452cfac2307274b81fe27415aa27cc38bb0c/68747470733a2f2f7472617669732d63692e6f72672f4d724a6f73684c61622f6c61726176656c2d7465726d696e616c2e737667)](https://travis-ci.org/MrJoshLab/laravel-terminal)[![Latest Stable Version](https://camo.githubusercontent.com/a4f6250e25d87feff23f0a4128150d89b9a44ec170af6017a2796094c8ac7c53/68747470733a2f2f706f7365722e707567782e6f72672f6a6f73682f6c61726176656c2d7465726d696e616c2f762f737461626c65)](https://packagist.org/packages/josh/laravel-terminal)[![Total Downloads](https://camo.githubusercontent.com/b65e213dd936077035bdb2aa63df74e1339661bcd2b065eb62e11e72f7bf5eb9/68747470733a2f2f706f7365722e707567782e6f72672f6a6f73682f6c61726176656c2d7465726d696e616c2f646f776e6c6f616473)](https://packagist.org/packages/josh/laravel-terminal)[![Latest Unstable Version](https://camo.githubusercontent.com/78c690d548442264ccfb8bda5c1fb506fc6b0369cdca16ee69c06290e5e923f9/68747470733a2f2f706f7365722e707567782e6f72672f6a6f73682f6c61726176656c2d7465726d696e616c2f762f756e737461626c65)](//packagist.org/packages/josh/laravel-terminal)[![License](https://camo.githubusercontent.com/6ebdddce5ae4a76548cb068dba62c8ff4bd2d493575decf8098d2877bf3838f4/68747470733a2f2f706f7365722e707567782e6f72672f6a6f73682f6c61726176656c2d7465726d696e616c2f6c6963656e7365)](https://packagist.org/packages/josh/laravel-terminal)

Laravel Terminal package
========================

[](#laravel-terminal-package)

Run shell command easy in your laravel projects

**The package is in process.**

Requirement
===========

[](#requirement)

- Laravel ^6
- PHP ^7.2

Install
-------

[](#install)

Via Composer

```
$ composer require josh/laravel-terminal
```

Config
------

[](#config)

Add the following provider to providers part of config/app.php

```
Josh\Terminal\TerminalServiceProvider::class
```

and the following Facade to the aliases part

```
'Terminal' => Josh\Terminal\TerminalFacade::class
```

and then run

```
php artisan vendor:publish
```

for generating terminal config file into main config directory

Usage
-----

[](#usage)

You can run Terminal shell commands in laravel just like this:

```
$response = \Terminal::command('ls')->execute();
```

and you can get output of command just like this:

```
return $response->getBody()->getContents();
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43857625?v=4)[Mohammad Prince](/maintainers/mprince2k18)[@mprince2k18](https://github.com/mprince2k18)

---

Top Contributors

[![mprince2k18](https://avatars.githubusercontent.com/u/43857625?v=4)](https://github.com/mprince2k18 "mprince2k18 (2 commits)")

### Embed Badge

![Health badge](/badges/mprince-laravel-terminal-execution/health.svg)

```
[![Health](https://phpackages.com/badges/mprince-laravel-terminal-execution/health.svg)](https://phpackages.com/packages/mprince-laravel-terminal-execution)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
