Download the PHP package emir/laravel-webartisan without Composer
On this page you can find all versions of the php package emir/laravel-webartisan. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download emir/laravel-webartisan
More information about emir/laravel-webartisan
Files in emir/laravel-webartisan
Package laravel-webartisan
Short Description A beautiful browser-based terminal to run Laravel Artisan commands
License MIT
Homepage https://github.com/emir/laravel-webartisan
Informations about the package laravel-webartisan
Laravel Webartisan
A beautiful, modern browser-based terminal for running Laravel Artisan commands. Zero dependencies on the frontend, just works.
Features
- Run any Artisan command from your browsers
- Tab completion for command names
- Command history with up/down arrow navigation
- 4 built-in themes: Dark, Light, Monokai, Dracula
- Security: Environment restriction, Gate authorization, command allow/block lists
- Wildcard patterns for command filtering (
migrate:*,db:*) - Artisan install command for quick setup
- Zero configuration needed - works out of the box
- Supports Laravel 10, 11, and 12
Requirements
- PHP 8.2+
- Laravel 10.x, 11.x, or 12.x
Installation
The package uses Laravel's auto-discovery, so the service provider is registered automatically.
Run the install command to publish config and assets:
That's it! Visit /webartisan in your browser.
Manual Publishing
If you prefer to publish resources individually:
Configuration
After publishing, the config file is located at config/webartisan.php:
Usage
Terminal Commands
| Command | Description |
|---|---|
help |
Show available terminal commands |
list |
List all artisan commands with descriptions |
clear |
Clear the terminal screen |
exit / quit |
Leave webartisan |
Type any Artisan command directly:
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Tab |
Autocomplete command names |
Up / Down |
Navigate command history |
Ctrl+L |
Clear terminal |
Themes
Set the theme in your config or .env file:
Available themes: dark (default), light, monokai, dracula.
Security
Webartisan is designed for development use only. Multiple security layers are built in:
1. Environment Restriction (Default)
By default, Webartisan is only available in the local environment:
2. Master Switch
Disable completely via environment variable:
3. Gate Authorization
For fine-grained access control, define a gate in your AppServiceProvider:
Then enable it in the config:
4. Custom Authorization
Use the Webartisan::auth() method in your AppServiceProvider:
5. Command Allow/Block Lists
6. Domain Restriction
Restrict to an internal domain:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Credits
- Emir Karşıyakalı
- Inspired by samdark/yii2-webshell
- Built with jQuery Terminal
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-webartisan with dependencies
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/support Version ^10.0|^11.0|^12.0