htmlpagedom
htmlpagedom copied to clipboard
Add this to Symfony?
Hi @wasinger,
we just ran into the same issue, looking for a simple way to manipulate DOM in PHP in the year 2022... crazy hard. I found this old Symfony issue: https://github.com/symfony/symfony/issues/8036
Wouldn't it perhaps make sense to ask the Symfony team to add your great tool to Symfony as extension to the Crawler?
As PHP doesn't provide such a functionality and this is already Symfony-based and Crawler is a large step into this direction, it would be straighforward, if Symfony could remove this pain... What do you think? Or did you already contact Symfony or @fabpot?
I wouldn't mind integrating this library into Symfony. But since the Symfony devs have clearly expressed that this is not the focus of the crawler component of Symfony, I don't expect this to happen. However, it would be helpful to include a reference to HtmlPageDom in the Symfony crawler documentation.
Thanks for your quick reply and positive response @wasinger, I totally agree. And thanks for this great project :)