PSR-7 HTTP Message Generator

•
45
•

Generates immutable, PSR-7 compliant HTTP message implementations optimized for PHP 8.4 applications.

This skill automates the creation of standardized HTTP message components including Request, Response, ServerRequest, Uri, and Stream classes, specifically leveraging PHP 8.4's readonly properties for strict immutability. It is designed for developers building custom middleware, lightweight frameworks, or high-performance backend services who need to maintain clean architecture standards and industry-compliant HTTP handling without writing repetitive boilerplate code.

Key Features

01Automated unit test generation for all created components
02Generates immutable Request, Response, and ServerRequest objects
03Modern PHP 8.4 syntax utilizing readonly classes and native types
04Includes robust Stream, Uri, and UploadedFile implementations
05Full PSR-7 compliance for all core HTTP message interfaces
0645 GitHub stars

Use Cases

01Developing custom lightweight PHP frameworks or microservices
02Implementing infrastructure layers in Hexagonal or Clean Architecture
03Mocking HTTP interactions for robust integration testing