Download the PHP package ejklock/simplehtmldom without Composer
On this page you can find all versions of the php package ejklock/simplehtmldom. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ejklock/simplehtmldom
More information about ejklock/simplehtmldom
Files in ejklock/simplehtmldom
Package simplehtmldom
Short Description A fast, simple and reliable HTML document parser for PHP.
License MIT
Homepage https://simplehtmldom.sourceforge.io/
Informations about the package simplehtmldom
PHP Simple HTML DOM Parser
simplehtmldom is a fast and reliable HTML DOM parser for PHP.
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 5.6 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
Manually:
Download the latest release from SourceForge and extract the files in the vendor folder of your project.
Composer:
Git:
Note: The GitHub repository serves as a mirror for the SourceForge project. We currently accept pull requests and issues only via SourceForge.
Usage
This example illustrates how to return the page title:
Manually
Using composer
Find more examples in the installation folder under examples
.
Documentation
The documentation for this library is hosted at https://simplehtmldom.sourceforge.io/docs/
Getting involved
There are various ways for you to get involved with simplehtmldom. Here are a few:
- Share this project with your friends (Twitter, Facebook, ...you name it...).
- Report bugs (SourceForge).
- Request features (SourceForge).
- Discuss existing bugs, features and ideas.
If you want to contribute code to the project, please open a feature request and include your patch with the message.
Authors
- S.C. Chen
- John Schlick
- logmanoriginal
- Rus Carroll
- Yousuke Kumakura
- Vadim Voituk
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 *