no-framework-knowledge
Installation
SKILL.md
No-Framework PHP Knowledge Base
Quick reference for building framework-free PHP applications using PSR standards, standalone Composer packages, and Clean Architecture. Covers everything needed to run a production-grade project without Symfony, Laravel, or any full-stack framework.
Core Principles
PSR Compliance
| PSR | Purpose | Recommended Package |
|---|---|---|
| PSR-4 | Autoloading | Composer autoloader |
| PSR-7 | HTTP Messages | nyholm/psr7 or guzzlehttp/psr7 |
| PSR-11 | Container Interface | php-di/php-di or league/container |
| PSR-15 | HTTP Handlers & Middleware | relay/relay or custom pipeline |
| PSR-17 | HTTP Factories | nyholm/psr7 (includes factories) |
| PSR-3 | Logging | monolog/monolog |
| PSR-6/PSR-16 | Caching | symfony/cache (standalone) |