July 2026
Intermediate
478 pages
9h 8m
English
In this chapter, we present several practical recipes that leverage the object-oriented programming (OOP) capabilities of PHP 8. We cover a range of OOP-oriented topics, including using GenAI prompts to build an OOP appointment calendar system and integrating the Symfony AI Bundle to build an AI-powered service. The chapter also addresses important OOP concepts, including designing practical class hierarchies, implementing PSR-11-compliant service containers, and utilizing PHP 8.4's lazy object features that optimize performance and reduce memory consumption.
In this chapter we cover:
Read now
Unlock full access