<
⌘K
GitHub v2.4.0

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

DependencyMinimum VersionNotes
PHP8.18.2+ recommended
Composer2.xRequired for autoloading
MySQL / MariaDB8.0 / 10.6Optional — SQLite supported too
Apache / NginxAny modernmod_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.
<