@elyracode/herd
v0.9.11
Published
Elyra extension for Laravel Herd -- environment detection, service management, logs, and .env sync
Maintainers
Readme
@elyracode/herd
Laravel Herd integration for Elyra -- environment detection, service management, logs, and .env sync.
Install
elyra install npm:@elyracode/herdTools
| Tool | Description |
|------|-------------|
| herd_status | Show PHP version, active services, linked sites, Node.js version |
| herd_logs | Read Nginx, PHP, and Laravel error logs from Herd |
| herd_env_sync | Verify .env matches Herd configuration (DB host/port, Redis, APP_URL, Mailpit) |
| herd_php | Show or switch PHP version |
Commands
| Command | Description |
|---------|-------------|
| /herd | Show Herd dashboard |
| /herd-logs | Show recent error logs |
| /herd-sync | Check .env against Herd config |
Usage
> What services are running in Herd?
> Show me the PHP error logs
> Does my .env match Herd's configuration?
> Switch to PHP 8.4
/herd
/herd-logs
/herd-sync.env Sync Checks
The sync checker verifies:
- DB_HOST: should be
127.0.0.1for Herd MySQL/PostgreSQL - DB_PORT: should match Herd defaults (3306 for MySQL, 5432 for PostgreSQL)
- REDIS_HOST: should be
127.0.0.1 - APP_URL: should use
.testdomain - MAIL_HOST/PORT: should match Herd Mailpit (
127.0.0.1:2525)
Requirements
- Laravel Herd installed with
herdCLI in PATH - macOS (Herd's primary platform)
