PHPackages                             sabiowebcom/artisan-gui-package - 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. sabiowebcom/artisan-gui-package

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

sabiowebcom/artisan-gui-package
===============================

Laravel package for executing Artisan commands through a web GUI

00PHP

Since Nov 28Pushed 5mo agoCompare

[ Source](https://github.com/sabioweb/artisan-gui-package)[ Packagist](https://packagist.org/packages/sabiowebcom/artisan-gui-package)[ RSS](/packages/sabiowebcom-artisan-gui-package/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

🚀 Artisan GUI
=============

[](#-artisan-gui)

---

**A modern, secure, and beautifully designed web interface for running Laravel Artisan commands.**

> A sleek dashboard that transforms `php artisan` into a safe, team-friendly, role-based graphical interface — without exposing server access.

---

```
## ✨ Key Features

### 🎨 Modern UI/UX
- Fully responsive design
- Smooth **dark & light mode**
- Clean TailwindCSS-powered layout
- Real-time command output streaming

### 🔒 Enterprise Security
- Full **command whitelisting**
- **RBAC role-based permissions**
- CSRF protection
- Complete audit trail for all executed commands

### ⚡ Real-Time Execution
- Live command output
- Async execution via AJAX
- Execution statuses (running / success / failed)
- Detailed error handling

### 📜 Audit Logging
- Complete command history
- Searchable & filterable logs
- User-based trails
- Downloadable log files

### 🌍 Internationalization (i18n)
- Full multi-language support
- English as the base language
- Auto-translation support (Google/DeepL)
- Easy language expansion

### 🧩 Modular Laravel Package
- Publishable config, views, migrations, and lang files
- Customizable and extendable
- Auto-discovered Service Provider

---

## 📦 Requirements

| Component   | Version |
| ----------- | ------- |
| PHP         | 8.2+    |
| Laravel     | 11.x+   |
| Database    | Any supported by Laravel |

---

## 🛠 Installation

### 1️⃣ Install via Composer
```bash
composer require sabiowebcom/artisan-gui-package
```

### 2️⃣ Publish Package Assets

[](#2️⃣-publish-package-assets)

```
php artisan vendor:publish --tag=artisan-gui-config
php artisan vendor:publish --tag=artisan-gui-migrations
php artisan vendor:publish --tag=artisan-gui-views
php artisan vendor:publish --tag=artisan-gui-lang
```

### 3️⃣ Run Migrations

[](#3️⃣-run-migrations)

```
php artisan migrate
```

---

⚙️ Configuration
----------------

[](#️-configuration)

### `.env` Variables

[](#env-variables)

```
ARTISAN_GUI_PREFIX=artisan-gui
ARTISAN_GUI_LOCALE=en

ARTISAN_GUI_AUTO_TRANSLATE=false
ARTISAN_GUI_TRANSLATION_PROVIDER=google
ARTISAN_GUI_TRANSLATION_API_KEY=your-api-key
ARTISAN_GUI_TARGET_LANGUAGES=fa,ar,es,fr,de
```

### `config/artisan-gui.php`

[](#configartisan-guiphp)

Fully customizable settings:

- route prefix
- allowed commands
- allowed user roles
- max execution time
- log storage path
- i18n settings

---

🔧 Usage
-------

[](#-usage)

### Access the Dashboard

[](#access-the-dashboard)

```
http://your-app.test/artisan-gui

```

### Main Pages

[](#main-pages)

- `/artisan-gui` — Dashboard
- `/artisan-gui/run` — Execute commands
- `/artisan-gui/catalog` — Browse commands
- `/artisan-gui/history` — Execution history
- `/artisan-gui/about` — Package info

### Running Commands

[](#running-commands)

1. Open **Run Command**
2. Select an Artisan command
3. Enter parameters (optional)
4. Run
5. Watch real-time output

---

📡 API Endpoints
---------------

[](#-api-endpoints)

### Execute Command

[](#execute-command)

```
POST /artisan-gui/api/execute
```

### List Commands

[](#list-commands)

```
GET /artisan-gui/api/commands
```

### Run Details

[](#run-details)

```
GET /artisan-gui/api/runs/{id}
```

### Download Log

[](#download-log)

```
GET /artisan-gui/api/runs/{id}/log
```

---

🌍 Localization
--------------

[](#-localization)

### Set Locale

[](#set-locale)

```
ARTISAN_GUI_LOCALE=fa
```

Or:

```
/artisan-gui?lang=fa

```

### Auto-Translate

[](#auto-translate)

```
php artisan artisan-gui:translate
```

---

🎨 Dark Mode
-----------

[](#-dark-mode)

- Light &amp; Dark themes
- Auto-detect system theme
- Smooth transitions
- Saves user preference

---

🔒 Security
----------

[](#-security)

- Command whitelisting
- Role-based access control
- CSRF protection
- Safe validation &amp; exception handling

---

🎨 Customization
---------------

[](#-customization)

### Override Views

[](#override-views)

```
php artisan vendor:publish --tag=artisan-gui-views
```

### Override Lang Files

[](#override-lang-files)

```
php artisan vendor:publish --tag=artisan-gui-lang
```

### Change Route Prefix

[](#change-route-prefix)

```
ARTISAN_GUI_PREFIX=admin/artisan
```

---

🧪 Testing
---------

[](#-testing)

```
composer test
```

or:

```
./vendor/bin/phpunit
```

---

📚 Project Structure
-------------------

[](#-project-structure)

```
artisan-gui-package/
├── config/
├── database/
├── resources/
│   ├── lang/
│   └── views/
├── routes/
├── src/
└── tests/

```

---

🤝 Contributing
--------------

[](#-contributing)

1. Fork
2. Create branch
3. Follow PSR-12
4. Write tests
5. Submit PR

---

📝 Changelog
-----------

[](#-changelog)

See `CHANGELOG.md`.

---

🪪 License
---------

[](#-license)

MIT License

---

⭐ Support
---------

[](#-support)

- Star the repo
- Report issues
- Suggest features
- Improve docs

---

🙏 Acknowledgments Built with ❤️ by Sabiowebcom Team Author: Ramezanzadeh Team: Sabioweb Site : Sabioweb.com

---

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance49

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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://www.gravatar.com/avatar/f32b48879bf92cdf77e24bbc23672643045eec95f2dad2e78bcb7b97429ab777?d=identicon)[SABIOWEB](/maintainers/SABIOWEB)

---

Top Contributors

[![mamadmakoos](https://avatars.githubusercontent.com/u/80053920?v=4)](https://github.com/mamadmakoos "mamadmakoos (9 commits)")

### Embed Badge

![Health badge](/badges/sabiowebcom-artisan-gui-package/health.svg)

```
[![Health](https://phpackages.com/badges/sabiowebcom-artisan-gui-package/health.svg)](https://phpackages.com/packages/sabiowebcom-artisan-gui-package)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M319](/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)
