PHPue Insights Hub

- A unified experience for web development! -

PHPue Logo - A modern PHP framework

PHPue Framework

Empowering dreams, pushing boundaries, and exploring limitless possibilities.

PHP Framework • Carmarthen, Wales.
📝

Philosophy Posts

Fresh perspectives and updates

1
posts published
PHPue Framework Logo

PHPue Framework

• Author: Edward Patch
11 months ago - Philosophy

We've been writing PHP the hard way. Let's change that.

What if much of the "modern" web development complexity we accept is unnecessary?

I built PHPue not as just another framework, but as a challenge to the status quo. It's born from a simple question: Why can't we write server logic and client interactivity in one unified workflow, without constant context switching?

PHPue is a philosophical stance. It's about Unlearning Complication. The framework is inspired from Vite and Vue; without 'reinventing' the wheel. Instead, we added 9 new syntax patterns on top of PHP, and created a framework in two principle files! One to compile .pvue files back to PHP before runtime, and one to serve and build production quality files!

It's not just "PHP with some helpers." It's a new mental model where PHP and JavaScript coexist seamlessly in the same file:

  • Unified File Architecture: Write server-side PHP and client-side JavaScript in the same file. No more searching through multiple files for related logic.
  • Automatic PHP -> JS Data Bridge: Pass PHP variables directly to JavaScript with simple {{$variable}} syntax.
  • Seamless AJAX Handlers: Write PHP functions with @AJAX decorators and call them directly from JavaScript.
  • True Full-Stack Coherence: Stop duplicating validation and business logic. Build reactive applications where the client is a true view of server state.

PHPue is an invitation to rethink the basics, whilst always having pure PHP syntax and JS on standby, without breaking the framework!

See the philosophy behind the code: Philosophy
See the unified architecture in action: Features
Get Started: Get Started
Contribute on GitHub: Contribute Now
We have Syntax Highlighting already! PHPue Syntax Highlighter Repo

👍 3 likes
3 shares

Latest Blog Posts

No Blog Posts Exist