Alpha
Alpha
AlphaBeta: when quoting is solved

Prologue

Release Notes

Introduction

Laravel Bash is the newest member of the Laravel family, after PHP, Rust and Go. It runs on the shell that is already installed on every server you have ever deployed to.

note

Laravel Bash is not affiliated with or endorsed by Laravel.

Versioning Scheme

Laravel Bash is in Alpha. Everything in these docs works, and anything in them may change. The beta will ship once quoting has been solved, so Alpha is likely to last a while. ./artisan --version tells you which one you have.

Support Policy

VersionBashReleasedBug Fixes Until
Alpha5.1 or later6 December 2026Whenever someone opens an issue

Bash 5.1 is the minimum because Laravel Bash uses wait -n -p, which arrived in 5.1. macOS ships Bash 3.2 from 2007, so on a Mac you'll want Sail.

Laravel Bash Alpha

Every request is a process

./artisan serve doesn't serve anything itself. It asks socat to listen on port 8000 and fork a new copy of bootstrap/handle for every connection. Nothing is shared between requests, like PHP since 1995. Read more in the request lifecycle.

Eloquent pipelines

Models run SQL, and everything after that is a pipeline of small programs over tab-separated text:

Post::all | where status = published | orderBy votes desc | take 3

Read more in the Eloquent documentation.

Queues, events and broadcasting

Jobs are files that workers claim with mv. Events are kill -USR1. Broadcasting is tail -F streamed as Server-Sent Events. All of them can be watched live in the examples.

./artisan dev

One command starts the server, four queue workers, the event listener, the scheduler and the log, and stops them all when one of them stops.

Upgrading from PHP

There is no upgrade path from Laravel PHP. There is barely an upgrade path from Laravel Bash.