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
Requires
- php: ^8.3
- josegonzalez/dotenv: ^4.0
- symfony/http-foundation: ^7.3|^8.0
- symfony/routing: ^7.3|^8.0
Requires (Dev)
- cakephp/cakephp-codesniffer: ^5.3
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.2.7 || ^12.1
- symfony/var-dumper: ^7.4|^8.0
Suggests
- twbs/bootstrap: Bootstrap CSS framework for responsive design
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.