Download the PHP package eyupcanakman/simple-html-dom without Composer
On this page you can find all versions of the php package eyupcanakman/simple-html-dom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eyupcanakman/simple-html-dom
More information about eyupcanakman/simple-html-dom
Files in eyupcanakman/simple-html-dom
Download eyupcanakman/simple-html-dom
More information about eyupcanakman/simple-html-dom
Files in eyupcanakman/simple-html-dom
Vendor eyupcanakman
Package simple-html-dom
Short Description A modern HTML DOM parser for PHP using DOMDocument and Symfony CssSelector.
License MIT
Homepage https://github.com/eyupcanakman/simple_html_dom
Package simple-html-dom
Short Description A modern HTML DOM parser for PHP using DOMDocument and Symfony CssSelector.
License MIT
Homepage https://github.com/eyupcanakman/simple_html_dom
Please rate this library. Is it a good library?
Informations about the package simple-html-dom
Simple Html Dom Parser for PHP
A HTML DOM parser written in PHP - let you manipulate HTML in a very easy way!
A modern fork of PHP Simple HTML DOM Parser. Instead of string manipulation, it uses DOMDocument and modern PHP classes like Symfony CssSelector.
What's different in this fork
- PHP 8.4 support (nullable parameter deprecations fixed)
- Symfony 8.0 support
- Leading combinator selectors (
> span,+ div,~ p) now work infind() @propertyannotations on abstract classes for better static analysis (Psalm, PHPStan)- Minimum PHP version corrected to 7.1.0 (matches actual nullable type usage)
findOneOrNull()for PHP 8.0+ nullsafe operator support (?->)remove()method (jQuery-style alias fordelete())text()no longer includes<style>and<script>content- Fixed crash when calling
delete()on detached/root nodes - HTML output no longer adds extra linebreaks not in the original
- Compound
text/commentselectors:find('div text'),find('p > text'),find('div comment') - SVG data URLs inside
<style>tags no longer break parsing (unquotedurl()fix)
Features
- PHP 7.1+ & 8.x support
- Composer & PSR-4
- UTF-8 support
- Invalid HTML support (partly)
- Find tags on an HTML page with selectors just like jQuery
- Extract contents from HTML in a single line
Install
Quick Start
Examples
github.com/eyupcanakman/simple_html_dom/tree/master/example
API
github.com/eyupcanakman/simple_html_dom/tree/master/README_API.md
License
MIT - see LICENSE
Credits
Based on PHP Simple HTML DOM Parser.
All versions of simple-html-dom with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
ext-dom Version *
ext-libxml Version *
ext-simplexml Version *
symfony/css-selector Version ~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0
ext-dom Version *
ext-libxml Version *
ext-simplexml Version *
symfony/css-selector Version ~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0
The package eyupcanakman/simple-html-dom contains the following files
Loading the files please wait ...