Nativa PHP Core
Mark

Modular PHP

Keep PHP.Drop the framework.

A modular monolith you can read end to end: per-module SQLite, attribute routing, and no runtime dependencies to audit around your code.

Discover how it works

Premise

Familiar PHP. Now as modules.

The kernel answers only what every site needs — routing, middleware, a render layout, per-module storage — and a module answers the rest. Remove a module and its routes, tables and theme leave with it.

Web
Blog
Mark
CLI
01

Bare core

The kernel alone: routing, middleware, layout, per-module storage. Every other surface is a module you add.

02

Blog

Markdown files, tags, categories, authors and a reading surface — installed as a module, removable the same way.

03

Mark

A panel module with its own theme and route policy, mounted under the configured Mark prefix.

Solves

What you can do with Nativa?

Start with the kernel, add only the surfaces a product actually has, and keep every one of them replaceable.

  • Launch a public site and a blog from the same kernel.
  • Add a Mark panel as a module, not as a second application.
  • Replace a module — or a theme — without editing the kernel.

For developers

One request path to read, one port per concern, and a module boundary you can hold in your head.

For teams

A module owns its routes, tables, tests and theme. Two people can work on two modules without a shared map to merge.

For the long run

No runtime dependency to upgrade around. The code you audited is the code that ships.

How it works

Under the hood of Nativa

A request enters the kernel, passes one middleware pipeline, and lands in a module action. Nothing between those three points is generated, cached or reflected at runtime.

A route resolves to an action through attributes, the middleware runs in the order the kernel declares, and the action receives a typed request. No service locator, no generated map.

Each module owns its database file and its schema. There is no central migration maze, no ORM, and no shared connection string to configure.

A theme, a shell provider and an auth provider answer through kernel-owned ports. The dependency edge points at the kernel, never at a feature module.

A broken or missing provider falls back to the kernel answer and logs the skip — a thinner page, not a 500 on every surface.

No Composer runtime, no framework package, no build step required to serve a page. The production runtime is PHP and its bundled extensions.

The right choice

Less machinery.
Clearer ownership.

QuestionNativaTypical framework
Layers between the request and your codeOne pipelineFramework, container, ORM
Runtime dependenciesNoneDozens
Data ownershipPer-module SQLiteShared connection
Module removalRoutes, tables and theme leave togetherManual cleanup

Rich API

One core, many surfaces

The same ports serve the public site, the Mark panel and the CLI. A theme renders what the kernel hands it; the panel is a module; the command line reads the same catalogue.

Read the blog

Routes as attributes

A controller declares its path, method and name next to the method. The router reads the attribute; nothing is generated.

Ports as contracts

Themes, shell providers and auth providers answer through kernel-owned interfaces, so a feature module never becomes a theme dependency.

Themes as modules

A theme arrives with its module and leaves with it. Discovery scans the installed tree; the whitelist is not edited by hand.

Mark as a module

The panel, its routes and its own theme install as one module under one policy prefix.

Built on a few promises

“If two places can spell the same value, one of them is a copy waiting to drift. The kernel names it once.”

One owner per name

“An installed module takes its routes, tables, discovery entries and theme with it — no orphaned row, no dead option.”

A module can leave

“A missing provider degrades to the kernel answer and logs the skip. Nothing renders another module's data and calls it success.”

The fallback is honest

If you write PHP, you can already ship a modular application.

Get started right now!