Roadmap
Where Mainstay is, and what comes next
Mainstay is built in phases. It is not released yet, so the API can still change between commits.
Done
Phases 1 to 13
Next
The second locale and the second site
Tested on
SQLite, PostgreSQL, MySQL, SQL Server
Next
The phases still to build, in plan order.
-
Phase 14
The second locale and the second site
Proving what the schema already has room for by configuring a second of each: publish state and trash per locale, fallback as an opt-in, and a site matched to the request's host.
-
Phase 15
Onboarding
An installation checklist and a list per user, each step a check on what is already true, so nothing is stored and nothing drifts. The checklist is the dashboard's first widget.
-
Phase 16
Template parts
A navigation or a footer built from blocks, stored once per site and drafted and published as a global is, and edited in place the way a page is.
Done
Content worked from PHP first, against a real site. Identity and the admin came once the model had been proven.
-
After 13
AI connectors
A Connectors screen for every provider laravel/ai speaks: its key from the environment or saved encrypted, a test of the key, and the provider chosen for each kind of work.
-
Phase 13
The API as a product
The query layer over HTTP as REST and as an MCP server, behind tokens with capabilities of their own, every payload described by a JSON Schema.
-
Phase 12
The page builder
Every entry has content, text and the blocks its type names. A type with a page is edited on the page the site draws, text typed in place and a block's fields in a dialog.
-
Phase 11
Accounts in the admin
Accounts are invited by mail, roles are a grid of capabilities, and nobody hands out a capability they do not hold themselves.
-
Phase 10
The admin
Every registered type gets a list and a form in every language, with buttons for drafts, publishing, the trash and each entry's history.
-
Phase 9
Identity
Accounts of the admin's own behind a login, and roles whose capabilities each type derives, which Gate asks about on every call.
-
Phase 8
Drafts, publishing, revisions, trash
A change waits as a draft of only what differs until it is published in one transaction. The newest 50 replaced versions of an entry are kept as revisions (a setting, or all of them), and a deleted entry goes to the trash first.
-
Phase 7
Globals, taxonomies and relations
Entries point at each other through relations a read follows to a depth. Tags are the entries of a taxonomy, and a global holds settings such as a menu.
-
Phase 6
Media
An image library shared across an installation. A JPEG, PNG, GIF or WebP is recognised by its bytes, and written at every declared size in AVIF and WebP when it is uploaded.
-
Phase 5
Rich text and blocks
An entry's
contentis oneContentfield, a document of text and blocks in a JSON column. The blocks a type allows are named by a class-level#[Blocks]attribute, and a block is a class with fields and a view, rendered through Blade. -
Phase 4
Public rendering
MilestoneOne fallback route turns a path into an entry and a Blade view, after any route the site wrote itself. Declare a type, write an entry, visit its URL.
-
Phase 3
Content, from code
One query layer for reads and writes, taking filters and sorting as data rather than closures, asking Laravel's Gate on every call. Seeders, templates and the API all go through it.
-
Phase 2
Schema
The field list becomes tables: one per type, a
_localestable beside it for what is translated.mainstay:syncbrings a development database in step, andmainstay:schema:checkfails CI where a database has drifted. -
Phase 1
Declarations
A content type is a PHP class and its fields are typed properties with attributes. A registry reads them into one field list, and each field type says what column it wants, how it validates and how it casts.
A plan, in phases
Each phase says what it builds and the check that proves it works.
A log of decisions
Every choice the code cannot explain by itself is written down with its reasons and what it was weighed against.
Corrections, kept
When later work overturns a decision, the plan lists the correction rather than rewriting the log.