Component-based
Keep PHP, HTML, and CSS together. Compose and extend components without repeating structure.
A component-based PHP framework with HTMx and Docker ready out of the box. Export to flat HTML for S3, serverless, or IPFS.
class Hero extends Component
{
public array $defaults = [
'title' => 'InstanceIO'
];
public function __construct(
public array $params,
public string $component = __DIR__ . '/Hero'
) {
parent::__construct($this->params, $this->component);
}
}
Compose reusable components, serve dynamic pages, or compile the same application to flat HTML when the deployment calls for it.
Keep PHP, HTML, and CSS together. Compose and extend components without repeating structure.
Build server-driven interactions without bringing a JavaScript framework into every page.
Use one command for local development, dynamic production, flat-file production, and watching.
Compile to HTML for S3, serverless functions, traditional hosting, or content-addressed storage.
Fetch remote component templates and render them locally with your own styles and logic.
Scaffold components, controllers, routes, Docker environments, and builds from the terminal.
A component is a PHP class, an HTML template, and a stylesheet. Pass attributes, set defaults, handle data, or compose child components.
Read the component docs<section class="hero">
<div class="container">
<h1>{%title%}</h1>
<p>{%subtitle%}</p>
<a href="/docs" class="btn">
Get started
</a>
</div>
</section>
Run the full PHP application when you need dynamic behavior. Build flat HTML when you want a simple, portable artifact for a bucket, CDN, or IPFS.
Install the framework, scaffold a component, and keep your deployment options open.