sabiowebcom / artisan-gui-package
Laravel package for executing Artisan commands through a web GUI
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/sabiowebcom/artisan-gui-package
Requires
- php: ^8.2
- laravel/framework: ^11.0|^12.0
Requires (Dev)
- fakerphp/faker: ^1.23
- orchestra/testbench: ^10.0|^11.0
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2025-12-28 14:51:49 UTC
README
A modern, secure, and beautifully designed web interface for running Laravel Artisan commands.
A sleek dashboard that transforms
php artisaninto 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
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
php artisan migrate
โ๏ธ Configuration
.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
Fully customizable settings:
- route prefix
- allowed commands
- allowed user roles
- max execution time
- log storage path
- i18n settings
๐ง Usage
Access the Dashboard
http://your-app.test/artisan-gui
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
- Open Run Command
- Select an Artisan command
- Enter parameters (optional)
- Run
- Watch real-time output
๐ก API Endpoints
Execute Command
POST /artisan-gui/api/execute
List Commands
GET /artisan-gui/api/commands
Run Details
GET /artisan-gui/api/runs/{id}
Download Log
GET /artisan-gui/api/runs/{id}/log
๐ Localization
Set Locale
ARTISAN_GUI_LOCALE=fa
Or:
/artisan-gui?lang=fa
Auto-Translate
php artisan artisan-gui:translate
๐จ Dark Mode
- Light & Dark themes
- Auto-detect system theme
- Smooth transitions
- Saves user preference
๐ Security
- Command whitelisting
- Role-based access control
- CSRF protection
- Safe validation & exception handling
๐จ Customization
Override Views
php artisan vendor:publish --tag=artisan-gui-views
Override Lang Files
php artisan vendor:publish --tag=artisan-gui-lang
Change Route Prefix
ARTISAN_GUI_PREFIX=admin/artisan
๐งช Testing
composer test
or:
./vendor/bin/phpunit
๐ Project Structure
artisan-gui-package/
โโโ config/
โโโ database/
โโโ resources/
โ โโโ lang/
โ โโโ views/
โโโ routes/
โโโ src/
โโโ tests/
๐ค Contributing
- Fork
- Create branch
- Follow PSR-12
- Write tests
- Submit PR
๐ Changelog
See CHANGELOG.md.
๐ชช License
MIT License
โญ Support
- Star the repo
- Report issues
- Suggest features
- Improve docs
๐ Acknowledgments Built with โค๏ธ by Sabiowebcom Team Author: Ramezanzadeh Team: Sabioweb Site : Sabioweb.com