Download the PHP package php-core/simplehtmldom without Composer
On this page you can find all versions of the php package php-core/simplehtmldom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download php-core/simplehtmldom
More information about php-core/simplehtmldom
Files in php-core/simplehtmldom
Package simplehtmldom
Short Description A fast, simple and reliable HTML document parser for PHP.
License MIT
Homepage https://github.com/php-core/simplehtmldom
Informations about the package simplehtmldom
PHP Simple HTML DOM Parser
simplehtmldom is a fast and reliable HTML DOM parser for PHP.
This is a fork of the Simple HTML DOM Parser project which aims to make "composer" compatibility better and clean-up some code, introduce type-safety and generally keep the project up-to-date.
Key features
- Purely PHP-based DOM parser (no XML extensions required).
- Works with well-formed and broken HTML documents.
- Loads webpages, local files and document strings.
- Supports CSS selectors.
Requirements
simplehtmldom requires PHP 8.1 or higher with ext-iconv enabled. Following extensions enable additional features of the parser:
- ext-mbstring (recommended) \ Enables better detection for multi-byte documents.
- ext-curl \
Enables cURL support for the class
HtmlWeb
. - ext-openssl (recommended when using cURL) \ Enables SSL support for cURL.
Installation
Usage
Find more examples in the installation folder under examples
.
Documentation
The documentation for this library is hosted at https://php-core.com/simplehtmldom/
If you want to contribute code to the project, simply do a pull-request towards the project repository.
Authors
- S.C. Chen
- John Schlick
- logmanoriginal
- Rus Carroll
- Yousuke Kumakura
- Vadim Voituk
- PHPCore
License
The source code for simplehtmldom is licensed under the MIT license. For further information read the LICENSE file in the root directory (should be located next to this README file).
Technical notes
simplehtmldom is a purely PHP-based DOM parser that doesn't rely on external libraries like libxml, SimpleXML or PHP DOM. Doing so provides better control over the parsing algorithm and a much simpler API that even novice users can learn to use in a short amount of time.
All versions of simplehtmldom with dependencies
ext-iconv Version *