Skip to content

v0.1.0 — interactive artisan shell

Choose a tag to compare

@amims71 amims71 released this 01 Jul 10:56

lara-shell v0.1.0 — first release

An interactive php artisan shell: bare words run as artisan commands, and raw PHP evaluates in the same session (Tinker fusion), with fuzzy matching, a searchable palette, background job control, aliases & macros, a production safety guard, and an in-shell help guide.

Highlights

  • php artisan shell (aliases: terminal, repl) with an artisan> prompt and a launch hint
  • Bare-word artisan dispatch (servephp artisan serve) + ; escape to force PHP (Tinker fusion)
  • Fuzzy resolution (exact → prefix → colon-segment → fzf subsequence) and a searchable palette / ?
  • Background jobs: trailing &, auto-backgrounded long-runners, jobs / kill <id> (process-tree) / logs <id> [-f], shared across sessions
  • Aliases (alias add/rm/list) and @macros, loop-guarded, in a per-project .lara-shell.php
  • Production safety guard: block / confirm (re-type the name) / allow
  • Built-in guide: help / h (aliases about, guide) and help <command> usage from the live catalog
  • Cross-platform driver: each command runs as a fresh subprocess; runtime state is kept in a self-ignoring storage/lara-shell/

Requirements

PHP 8.2+, Laravel 10 / 11 / 12. 126 tests passing.

Coming next

A fast persistent forking daemon (macOS/Linux) that keeps the framework booted for instant execution, shares jobs over a socket, and runs sessions under a PTY.

Docs: https://amims71.github.io/lara-shell/