Introduction
Welcome to DevWiki — the comprehensive documentation for the DevPortal framework. This guide covers everything from installation to advanced deployment strategies.
What is DevPortal?
DevPortal is a lightweight PHP framework designed for building fast, maintainable web applications without sacrificing developer ergonomics. It follows a "just enough structure" philosophy — giving you routing, middleware, and templating out of the box, while staying out of your way everywhere else.
✅ Tip
New to DevPortal? Start with the Installation guide,
then work through Configuration.
Key Features
- ⚡ Zero-dependency core — just PHP 8.1+
- 🔀 Expressive routing with named params and middleware chains
- 🔒 Built-in CSRF, rate limiting, and input sanitization
- 🗄️ PDO-based query builder with connection pooling
- 📦 Composer-ready with PSR-4 autoloading
- 🧪 PHPUnit test scaffolding included
Requirements
| Dependency | Minimum Version | Notes |
|---|---|---|
PHP | 8.1 | 8.2+ recommended |
Composer | 2.x | Required for autoloading |
MySQL / MariaDB | 8.0 / 10.6 | Optional — SQLite supported too |
Apache / Nginx | Any modern | mod_rewrite or try_files needed |
Quick Start
Get a project running in under 60 seconds:
composer create-project devportal/devportal my-app
cd my-app
php -S localhost:8080 -t public/
ℹ Info
The built-in PHP server is for development only. See Deployment for production setup.