php-html-parser
php-html-parser copied to clipboard
An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.
Hello, I am using PHP 8 and Laravel 8. When running **composer require paquettg/php-html-parser** I got an error root composer.json Sample required library: https://packagist.org/packages/guzzlehttp/guzzle#7.0.0 -> required PHP version is locked...
My environments: php: 7.4.3 laravel: Laravel Framework 8.57.0 Installed Error: Your requirements could not be resolved to an installable set of packages. Problem 1 - Installation request for paquettg/php-html-parser 3.1.0...
When HTML document contains a fragment like: `` It makes parsing the document incorrect - some nodes disappears. See test files and test runner in my repo: https://github.com/yalexwander/php-html-parser-bug-example I'm not...
PHP 8.1 RC3 errors due to the fact that `Collection::offsetGet()` does not declare the return type. ``` PHP Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of PHPHtmlParser\Dom\Node\Collection::offsetGet($offset)...
https://github.com/paquettg/string-encoder
Hi, Whilst parsing https://www.investmentweek.co.uk/news/4024910/asi-expands-sustainable-development-fund-range-em-launch Fatal error: Uncaught Error: Call to a member function name() on string in \server\path\php-html-parser\src\PHPHtmlParser\Dom\Parser.php on line 40. I believe it's failing on this tag `Aberdeen Standard...
Should resolve #256
Error: `TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given`
Looks like the package is not able to parse emails. Instead of showing the correct email text it shows something like this: text = "[email protected]"
Hello i cant handle this, i got Google Mechant Center XML and i cant get url from tags . XML: `https://example.com/demo/1` PHP: ``` forEach( $result as $r ) { echo...