Parsing and Traversing HTML with PHP 8.4: A Practical Guide
PHP 8.4 brings powerful new capabilities for HTML parsing and DOM manipulation that make working with web content significantly easier. This session demonstrates how to use these new features in PHP to build better web scrapers, content extractors, and HTML transformation tools. Through practical examples and live coding, we’ll explore common challenges in HTML parsing and show how PHP 8.4’s new DOM classes and CSS selector support provide elegant solutions.
Key Takeaways:
* Get hands-on experience with PHP 8.4’s new DOM classes and understand how they make working with HTML more intuitive
* Master practical applications of modern CSS selectors for common web scraping and content extraction tasks
* Learn the limits of CSS selectors, and when XPath selectors should be used instead.
Session info:
Speaker: Keyvan Minoukadeh
Software developer at Mochi Digital
Date: 21 March 2025
Time: 15:15 - 16:00
Relevant tags:
Full-stack
Html
PHP