Skip to content

Codex Gigas

Every command
is a spell.

Grim scaffolds modular Laravel applications and writes the Docker they run on. This book is the reference. One page for every command, one recipe for every task that takes more than one.

78 spells 19 recipes 4 tomes 1 curse GitHub

One train, many modules

A grim project is grim-core plus the modules and themes its grim.json asks for, each one a package in grimoiry/grim-*. They are released together as a train, so a project never has to wonder whether this cart works with that core.

grim create-project myapp leaves you that manifest, a grim.lock naming every version to the commit, and the Docker setup to run it. Traefik sits in front on 80 and 443, Horizon and the scheduler run beside the app, and it answers at https://myapp.test with a certificate the browser accepts.

The rest of the commands keep it that way: grim update moves the project to the next train, grim build and grim deploy put one image on staging and the same image on production.

What do you want to do?

Most people land here mid-task. Pick the honest one.

Starting from zero

How do I get an app running on my machine?

All spells

Adding to an app

How do I add a feature without growing a monolith?

All spells