Static sites,
zero friction.

Drop a template file and your page exists. Flat Cake handles routing, layouts, and asset compilation so you can focus on content.

✦ Flat Cake
Zero friction

Everything you need, nothing you don't.

A focused toolkit for building multi-page static websites without the overhead of a full CMS.

Automatic Routing

Add a template file and the page is live. URL slugs map to templates automatically — no route registration needed.

Reusable Elements

Header, footer, navigation, and any repeating section live as CakePHP elements. Change once, update everywhere.

Nested Pages

Organize content in folders. /about/the-team maps to about/the_team.php with full layout support.

Asset Pipeline

SCSS compiled to minified CSS, JavaScript classes bundled and minified. One command builds everything.

Three steps to a new page.

Create a template

Add a .php file in templates/Pages/ with your HTML content.

Visit the URL

Your page is already routed. Dashed slugs map to underscored filenames automatically.

Add logic if needed

Need data? Add a controller method. It gets called automatically before rendering.

Ready to build?

Check out the project structure and see how the pieces fit together.

Explore the project