MARS Developer ReferenceBuild against the current Theme contract.

Start building a MARS Theme

The rendering boundary, local workflow and applicable version.

The contract this guide describes

This reference describes Theme development for MARS runtime 1.2.0. It covers installed presentation packages, safe previews and independently versioned demo metadata. The public runtime version remains 1.2.0.

MARS is a Laravel modular monolith. Core coordinates site settings, localization and Theme discovery. Modules own content, routes, Media, Navigation and business behavior. A Theme expresses prepared information through Blade and public assets. It must remain replaceable without owning or changing editorial records.

Begin with the existing services

Read the anatomy guide, create a small local Theme, and run the existing validator:

php artisan mars:theme:make reference
php artisan mars:theme:validate reference

The scaffold is a starting point. Review its generated manifest, required views and sparse-content behavior before activation. Work in a disposable development installation. Never point fresh migration or demonstration import tooling at a customer database.

A useful first milestone

Render a homepage, a detail, an archive, a Term archive and a 404 with prepared navigation and SEO. Check both populated and sparse content. Then exercise safe preview and switching. A successful validator run is necessary, but real data-dependent branches still need browser review.

The qualification checklist explains the automated and manual evidence needed for completion.