Download the PHP package dconco/phpspa without Composer
On this page you can find all versions of the php package dconco/phpspa. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dconco/phpspa
More information about dconco/phpspa
Files in dconco/phpspa
Package phpspa
Short Description A component-based library for building modern, reactive user interfaces in pure PHP. Inspired by React. ✨
License MIT
Informations about the package phpspa
[](LICENSE) [](https://phpspa.tech) [](https://github.com/dconco/phpspa) [](https://packagist.org/packages/dconco/phpspa) [](https://packagist.org/packages/dconco/phpspa) [](https://github.com/dconco/phpspa/actions/workflows/php-tests.yml) [](https://packagist.org/packages/dconco/phpspa) [](https://packagist.org/packages/dconco/phpspa) [](https://github.com/dconco/phpspa)  
## ✨ **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
|
📦 Clone Template Pre-configured project structure |
⚡ Instant Setup Dependencies + server ready |
Step 1: Clone the Template
Step 3: Start Development Server
🚀 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
PhpSPA is dependency-free, which makes it extra fast |
|
🛡️ SEO Ready
Server-rendered for search engines |
⚙️ Framework Agnostic
Works with any PHP setup |
📚 Learn More
🔗 Complete Documentation — Full tutorials, examples and guides
👉 API References — Detailed API documentation for all PhpSPA features
📦 Packagist — Installation and versions
🤝 Contributing
We welcome contributions from the community! Whether you want to add new hooks, fix bugs, or improve documentation, your help is appreciated.
👉 Read our Contributing Guide to get started