PSR-13: Hypermedia Links in PHP
Discover PSR-13’s hypermedia link interfaces, understand HATEOAS principles, and implement discoverable APIs in PHP applications.
A comprehensive guide to PHP-FIG standards (PSRs) with practical examples and companion code.
Discover PSR-13’s hypermedia link interfaces, understand HATEOAS principles, and implement discoverable APIs in PHP applications.
Learn how PSR-20’s Clock interface makes time-dependent code testable and predictable by abstracting PHP’s time functions.
Deep dive into PSR-7’s HTTP message interfaces, understanding HTTP message abstraction, and implementing HTTP clients and servers in PHP.
Learn how PSR-17’s HTTP factory interfaces decouple your code from specific PSR-7 implementations, enabling testable and portable HTTP applications.
Learn about PSR-15’s HTTP server request handlers and middleware interfaces, and how they enable modular HTTP application development.
Discover PSR-18’s HTTP client interface for making standardized HTTP requests, enabling swappable HTTP client implementations in PHP.
Explore PSR-6’s caching interface standard, understand cache pools and items, and implement robust caching solutions in PHP applications.
Learn about PSR-16’s simple caching interface, understand when to use it over PSR-6, and implement straightforward caching solutions in PHP.
Learn how to implement and use PSR-3’s standardized logging interface in PHP applications, with practical examples of logging implementations and best …
Learn about PSR-11’s container interface standard, how it enables framework-agnostic dependency injection, and best practices for implementation.
Explore PSR-14’s event dispatcher interface, understand event-driven architecture in PHP, and learn best practices for implementing event systems.
A guide to PSR-1, the foundational coding standard for PHP that establishes basic rules for files, namespaces, classes, and methods to improve code consistency.
PSR-12 extends PSR-1 and PSR-2 to provide a comprehensive coding style guide for modern PHP, ensuring consistency across PHP code.
Master PHP’s PSR-4 autoloading standard to organize your code efficiently. Learn how to structure your projects for automatic class loading and seamless …
A comprehensive series exploring PHP-FIG’s PSR standards, with practical examples and real-world applications to help developers write more maintainable …
Clone the companion repository to follow along with working examples:
git clone https://github.com/jonesrussell/php-fig-guide.git
cd php-fig-guide
composer install