mirko-pagliai/simple-view-control

A lightweight PHP framework focused on View and Controller layers

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:project

pkg:composer/mirko-pagliai/simple-view-control

dev-main 2025-12-26 14:23 UTC

This package is auto-updated.

Last update: 2025-12-26 14:23:49 UTC


README

A lightweight PHP framework focused on View and Controller layers - the "VC" without the "M".

It provides clean, minimal implementation for handling HTTP requests, routing, and view rendering, without database/ORM complexity or full-stack framework overhead.

Key Features

  • Clean Controller abstraction with automatic View injection
  • Flexible View system with layout support and auto-template detection
  • Symfony Routing integration for robust route management
  • Request/Response handling via Symfony HttpFoundation
  • Comprehensive error handling with custom error pages and DEBUG mode
  • Testing utilities with ControllerTestCase for easy controller testing
  • Route parameter support with automatic placeholder substitution
  • PSR-4 autoloading compatible
  • Zero configuration for basic usage

Requirements

  • PHP 8.4 or higher
  • Composer

Perfect For

Small to medium projects that need solid View-Controller patterns without ORM overhead, or as a learning tool to understand MVC architecture without framework magic.