htmlpagedom icon indicating copy to clipboard operation
htmlpagedom copied to clipboard

Add this to Symfony?

Open JPustkuchen opened this issue 2 years ago • 2 comments

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?

JPustkuchen avatar Jun 30 '22 12:06 JPustkuchen

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.

wasinger avatar Jul 08 '22 10:07 wasinger

Thanks for your quick reply and positive response @wasinger, I totally agree. And thanks for this great project :)

JPustkuchen avatar Jul 08 '22 10:07 JPustkuchen