Vue-like Directives
Use familiar p-if or p-for directives with the power of PHP server-side rendering.
PHP Security Advisory: make sure your server runs the 21 October 2026 PHP security release. Read our guidance →
Choose Your Experience
PHPue - Unified Experience
Build with intention. Deploy with confidence.
// PHPue Framework - Elegance
<script>
@require Icon 'components/Icon.pvue';
$showIconComponent = true;
$items = [ "Build with intention.",
"Deploy with confidence.",
"Productive PHP development." ];
</script>
<template>
<ul>
<li p-for="$item in $items">{{ $item }}</li>
</ul>
<div p-if="$showIconComponent">
<Icon/>
</div>
</template>
<?php
$showIconComponent = true;
$items = [ "Build with intention.",
"Deploy with confidence.",
"Productive PHP development." ];
?>
<ul>
<?php foreach (phpue_iterable($items) as $item): ?>
<li><?= htmlspecialchars($item) ?></li>
<?php endforeach; ?>
</ul>
<?php if ($showIconComponent): ?>
<div><!-- Icon.pvue, inlined at compile time --></div>
<?php endif; ?>
Rendered by PHP 8.3, just now
<Icon /> rendered because $showIconComponent is true.
By eliminating complexity and unnecessary steps, we empower developers to build robust applications, with a focus on what matters.
PHPue encourages secure coding practices with built-in XSS context awareness, making it easier to protect your applications.
PHPue is designed to make coding enjoyable and intuitive. By focusing on developer happiness, PHPue removes friction and let you build confidentlyβwithout extra complexity.
Everything you need to build production-ready applications without the complexity of modern JavaScript tooling.
Use familiar p-if or p-for directives with the power of PHP server-side rendering.
Write PHP and JavaScript together seamlessly. Immediate UI feedback with server-state synchronization.
Server-side rendering with simplified AJAX methods. Write PHP functions that handle both initial render and dynamic updates.
Join developers who are building faster with less complexity. Get started in minutes, not hours.
Clone the repository and start building immediately
Explore the Tech Demo?
Choose Your Experience