LaraMux
A terminal UI application for managing Laravel development processes in a single terminal window.

Table of Contents
- Features
- Installation
- Updating
- Usage
- Detected Services
- Laravel Sail
- Configuration
- Troubleshooting
- Development
- License
- Contributing
Features
- Unified Process Management - Run
artisan serve, Vite, queue workers, and Reverb in one terminal - Auto-Discovery - Automatically detects available services from
composer.jsonandpackage.json - Real-time Log Viewing - Watch
storage/logs/laravel.logupdates in real-time - Smart Package Manager Detection - Detects npm, yarn, pnpm, or bun for running Vite
- Hotkey Controls - Quickly restart individual processes or all at once
- Custom Processes - Add your own processes via configuration
- Graceful Shutdown - Properly terminates all child processes on exit
Installation
Quick Install (Linux & macOS)
|
Cargo (crates.io)
Homebrew (macOS & Linux)
apt (Debian/Ubuntu)
# Download the .deb package
# Install
For ARM64 systems, use laramux_arm64.deb instead.
dnf (Fedora/RHEL)
# Download the .rpm package
# Install
For ARM64 systems, use laramux_aarch64.rpm instead.
Download Binary
Download pre-built binaries from GitHub Releases:
| Platform | Binary |
|---|---|
| macOS (Apple Silicon) | laramux-macos-aarch64 |
| macOS (Intel) | laramux-macos-x86_64 |
| Linux (x86_64) | laramux-linux-x86_64 |
| Linux (ARM64) | laramux-linux-aarch64 |
| Windows | laramux-windows-x86_64.exe |
# Example: macOS Apple Silicon
Build from Source
Requires Rust 1.70 or later.
Updating
Update to the latest version with:
Usage
Navigate to your Laravel project directory and run:
Requirements
LaraMux expects to be run from a Laravel project root containing:
composer.jsonwithlaravel/frameworkas a dependency- Optionally
package.jsonwith Vite for frontend assets
Keyboard Controls
| Key | Action |
|---|---|
↑ / ↓ |
Navigate process list |
s |
Restart Laravel serve |
v |
Restart Vite dev server |
q |
Restart queue worker |
h |
Restart Horizon |
b |
Restart Reverb (websockets) |
r |
Restart all processes |
c |
Clear selected process output |
f |
Toggle favorite (Artisan/Make tabs) |
Page Up / Page Down |
Scroll output |
Ctrl+C |
Quit and stop all processes |
Custom processes can define their own hotkeys (see Configuration).
Detected Services
LaraMux automatically detects and manages:
| Service | Detection | Command |
|---|---|---|
| Serve | Always (unless Laravel Herd detected) | php artisan serve |
| Queue | Always (unless Horizon detected) | php artisan queue:work --tries=3 |
| Horizon | laravel/horizon in composer.json |
php artisan horizon |
| Vite | vite in package.json |
npm/yarn/pnpm/bun run dev |
| Reverb | laravel/reverb in composer.json |
php artisan reverb:start |
Note: If Laravel Herd is installed on macOS, LaraMux will skip
artisan servesince Herd handles serving automatically.
Laravel Sail
LaraMux has full support for Laravel Sail projects. When Sail is detected, all commands are automatically routed through the Sail CLI to run inside the Docker container.
Automatic Detection
LaraMux detects Sail by checking for vendor/bin/sail in your project. When active:
artisan serveis skipped (Sail's Docker container handles serving)- Artisan commands run via
./vendor/bin/sail artisan <command> - PHP vendor tools run via
./vendor/bin/sail php ./vendor/bin/<tool> - JS scripts run via
./vendor/bin/sail <package-manager> run <script> - Sail takes precedence over Laravel Herd (project-specific vs system-level)
Supervisor Support
Many Sail projects use supervisord to manage long-running services like Horizon, Reverb, queue workers, and Vite inside the container. LaraMux automatically detects these supervised services and adapts its behavior:
- No duplicate processes - Instead of starting a second instance, LaraMux tails the supervisor-managed log output
- Supervised status indicator - Supervised processes show a blue
◆indicator and[sup]label in the sidebar - Contextual controls - Action hints change to reflect supervised behavior:
| Status | Actions |
|---|---|
| Running | [x]detach [r]reconnect |
| Stopped | [s]tail logs |
- No auto-restart - Supervisor manages the process lifecycle, so LaraMux won't attempt to restart supervised services
How Supervisor Detection Works
LaraMux reads the supervisord config at /etc/supervisor/conf.d/supervisord.conf inside the Sail container and parses [program:X] sections. Program names are matched to LaraMux process types:
| Program name contains | Mapped to |
|---|---|
horizon |
Horizon |
reverb |
Reverb |
worker or queue |
Queue |
vite |
Vite |
Auto log setup: If supervised programs log to /dev/stdout (the default in many Sail configurations), LaraMux automatically patches the supervisor config inside the container to redirect output to individual log files under /var/log/supervisor/. This allows per-program log tailing. The change is non-destructive — it only affects the running container and does not modify your project files. A marker file prevents re-running on subsequent LaraMux starts within the same container session.
Sail Configuration
You can force-enable or force-disable Sail mode in .laramux.json:
| Value | Behavior |
|---|---|
true |
Force Sail mode on (even without vendor/bin/sail) |
false |
Force Sail mode off (ignore Sail even if present) |
| omitted | Auto-detect based on vendor/bin/sail (default) |
Configuration
Create a .laramux.json file in your Laravel project root to customize LaraMux behavior. All sections are optional.
For IDE autocompletion and validation, add the schema reference:
Disable Built-in Processes
Available processes to disable: serve, vite, queue, horizon, reverb
Override Process Commands
Override command, arguments, working directory, environment variables, and restart behavior:
| Field | Description |
|---|---|
command |
Override the executable |
args |
Override command arguments |
working_dir |
Relative path from project root (no .. allowed) |
env |
Environment variables (keys must be alphanumeric with underscores) |
restart_policy |
never (default), on_failure, or always |
Add Custom Processes
| Field | Required | Description |
|---|---|---|
name |
Yes | Unique identifier for the process |
display_name |
Yes | Name shown in the sidebar |
command |
Yes | Executable to run |
args |
No | Command arguments (default: []) |
hotkey |
No | Single lowercase letter for quick restart |
enabled |
No | Set to false to disable (default: true) |
working_dir |
No | Relative path from project root |
env |
No | Environment variables |
restart_policy |
No | never, on_failure, or always |
Reserved hotkeys: r (restart all), c (clear output), s, v, q, h, b (built-in processes)
Quality Tools Configuration
Customize the Quality tab tools - disable tools, add custom ones, or set default arguments:
| Field | Description |
|---|---|
disabled_tools |
List of tool display names to hide |
custom_tools |
Add custom quality or testing tools |
default_args |
Extra arguments to append (keyed by lowercase tool name) |
Custom tool fields:
| Field | Required | Description |
|---|---|---|
name |
Yes | Unique identifier |
display_name |
Yes | Name shown in Quality tab |
command |
Yes | Executable to run |
args |
No | Command arguments |
category |
Yes | quality or testing |
Log Configuration
Customize log viewing behavior:
| Field | Description |
|---|---|
max_lines |
Max log lines to keep (10-10000, default: 100) |
files |
Additional log files to watch (relative paths) |
default_filter |
Default level filter: debug, info, notice, warning, error, critical, alert, emergency |
Artisan & Make Favorites
Mark your frequently used commands as favorites by pressing f while viewing them in the Artisan or Make tabs. Favorites appear at the top of the command list with a ★ indicator and are automatically saved to your config file.
You can also configure favorites manually:
| Section | Description |
|---|---|
artisan.favorites |
Array of artisan command names to mark as favorites |
make.favorites |
Array of make command names to mark as favorites |
Restart Policies
Processes can be configured to automatically restart:
| Policy | Behavior |
|---|---|
never |
Never auto-restart (default) |
on_failure |
Restart only if exit code is non-zero |
always |
Always restart regardless of exit code |
Auto-restart uses exponential backoff (2^failures seconds, max 60s) to prevent rapid restart loops.
Complete Example
Troubleshooting
"composer.json not found"
Make sure you're running LaraMux from your Laravel project's root directory.
"Not a Laravel project"
Ensure laravel/framework is listed in your composer.json dependencies.
Vite not starting
Check that:
package.jsonexists with adevscriptviteorlaravel-vite-pluginis in your devDependencies- Node modules are installed (
npm install)
Processes not stopping on exit
LaraMux sends SIGTERM and waits 5 seconds before SIGKILL. If processes persist, they may be ignoring signals.
Development
# Run in development
# Run tests
# Check formatting
# Run linter
License
MIT License - see LICENSE for details.
Contributing
Contributions are welcome! Please open an issue or submit a pull request.