Y
Y
Yurik7k2015-09-15 17:44:13
PHP
Yurik7k, 2015-09-15 17:44:13

How to work with php framework Goutte?

I started using the php framework Goutte, difficulties immediately appeared, I looked in the internet, I did not find an answer, maybe I looked badly.
1. How to get the text of a child element on traversal?
2. How to get the value of any attribute?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
OnYourLips, 2015-09-15
@Yurik7k

Goutte is a combination of Guzzle (http) and Symfony DOM Crawler (DOM).
So just use the methods from the second component
symfony.com/doc/current/components/dom_crawler.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question