{"repo":"dconco/phpspa","free":true,"listed":false,"github":"https://github.com/dconco/phpspa","clone":"git clone https://github.com/dconco/phpspa.git","description":"A component-based library for building modern, reactive user interfaces in pure PHP. Inspired by React. ✨","language":"PHP","stars":71,"topics":["component-library","php","spa","phpspa","react"],"license":"MIT","category":"ui-components","readme_excerpt":"Component-Based PHP Library for Modern Web Applications Build dynamic, interactive web applications using reusable PHP components with state management and SPA-like behavior — no JavaScript frameworks required. ✨ Key Features 🧩 Components Reusable & Modular Build once, use everywhere 🧠 State Reactive Updates Auto-sync state changes ⚡ Performance Zero Full Reloads SPA-like experience 🎯 Simple Minimal Setup Works out of the box --- 🚀 Getting Started 🎯 Ready to Jump In? Start with our Template! Get up and running in 30 seconds with a complete PhpSPA example 📦 Clone Template Pre-configured project structure ⚡ Instant Setup Dependencies + server ready Step 1: Clone the Template Step 3: Start Development Server 🎉 That's it! Your PhpSPA application is now running locally. Open your browser and start building amazing components! --- 🚀 Quick Start If you want to set up PhpSPA manually, maybe in an existing project, follow these steps: Install Namespace First you need to include the namespace at the beginning of your app. Create Component Setup App --- ⚡ Native Compression (C++ FFI) To enable the fastest HTML/CSS/JS compression, add this to your php.ini : Then add this line to your code: You’ll see X-PhpSPA-Compression-Engine: native in response headers when active. --- 🎨 What You Get 🧱 Component Architecture Clean, reusable PHP components 🔄 Reactive State Auto-updating UI with simple state management 🌍 SPA Navigation Smooth page transitions without reloads 🪶 Lightweight P","default_branch":null,"files":null,"tree":[],"storefront":"/r/dconco","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dconco/phpspa/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}