How to get the attribute value of an element in PHP-Laravel?

How to get the attribute value of an element in PHP-Laravel?

Hello Devan,

Refer to the following code snippet, that will help you fetch attribute value of an element:

$elem->getAttribute('href')