paquettg/php-html-parser
An HTML DOM parser. It allows you to manipulate HTML. Find tags on an HTML page with selectors just like jQuery.
3.1.1
8.4M downloads/mo
#2462 most downloaded on Packagist
paquettg/php-html-parser
What this package is like to depend on
Last release 6 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 2.8 years
Some releases are documented
notes for 8 of 19 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
19 releases · first in 2013
0 releases in the last 12 months
see the full history below
Release timeline
19 releases · May 2013 to Nov 2020Releases
latest 19-
3.1.101 Nov 2020Release notes
Open source →Changed
- Fixed issue with numbers in comments.
- Updated minimume php version to correct version.
- Comment tags are now self-closing when cleanup input is set to false.
-
3.1.019 Sep 2020Release notes
Open source →Changed
- Updated to include Tidelift subscription option.
- Removed php-coverall.
- Removed Guzzle 6 Adapter.
- Added support for Guzzle 7.
-
3.0.123 Aug 2020 -
3.0.019 Jul 2020Release notes
Open source →Added
- Support for PSR7 HTTP clients and requests for URL calls has been added.
- PHAN support and fixed all issues from PHAN has been added.
- PHP-CS-Fixer added.
- Support for html5 charset detection.
- Added the ability to match both parent and children.
- Added character set conversion in load.
Changed
- Fixed issue with \ causing an infite loop.
- CDATA should not be altered when cleanupInput is false.
- Added tag attribute DTO.
- Cleaned up the selector logic.
- Fixed issue with greedy regex for charset detection.
- Fixed bug causing infinite loops in some cases.
- Refactored the way we handle options. Removed the magical option array.
Removed
- Curl interface and curl implementation has been removed.
- Removed support for the depth first search option.
findById()method removed from Dom object.- Removed
load()method in Dom object. - Removed support for php 7.1.
-
2.2.120 Jan 2020Release notes
Open source →Added
- Added php_cs.
- Added support for PSR7 requests.
- Added the attribute type dto.
-
2.2.013 Jan 2020Release notes
Open source →Added
- Added support for php 7.4.
- Added custom header support for curl request.
- Added gzip detection and decoding.
- Added additional type checking.
Changed
- Fixed bug with multiple selectors query.
- Updated documentation.
- Fixed issue with Dom object.
-
2.1.018 Aug 2019Release notes
Open source →Added
- New
removeSmartyScriptsconfiguration setting. Defaults to true. - Added
declare(strict_types=1)to all source files. - Added new option
depthFirstSearch. - Deprecated option
depthFirstSearchand marked for removal in3.0.0. - Added multi class selections support.
- Added case insensitive attribute matching.
- Added new option
htmlSpecialCharsDecode.
Changed
- Started using a changelog.
- Fixed bug that caused an infinite loop when no content found in tags.
- Moved the Mock object to the tests directory, where it belongs.
- Changes from
PSR-0toPSR-4autoloading. - Updated
CONTRIBUTING.mdcontents. - Updated docblocks.
- New
-
2.0.210 Feb 2019Nothing published for this version
-
2.0.102 Feb 2019Nothing published for this version
-
2.0.021 Jan 2019 -
1.7.006 Apr 2016Nothing published for this version
-
1.6.920 Mar 2016Nothing published for this version
-
1.6.808 Nov 2015Nothing published for this version
-
1.6.409 Dec 2014Nothing published for this version
-
1.6.315 Apr 2014Nothing published for this version
-
1.6.208 Apr 2014Nothing published for this version
-
1.6.103 Jan 2014Nothing published for this version
-
1.6.012 Dec 2013Nothing published for this version
-
1.5.104 May 2013Nothing published for this version