maalls / domdocument
Installs: 1 245
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- maalls/charset: ~1.0.0
- maalls/curl: ~1.0
Suggests
- maalls/curl: Allow making DomDocument from URL.
This package is not auto-updated.
Last update: 2025-02-15 18:23:04 UTC
README
DomDocument Factory that handles charset encoding.
You can create the DomDocument Object directly from the URL or from the HTML.
The class extract the encoding from the HTTP request, HTML header and format the HTML to be properly parsable by the DomDocument class.
Example
Check the test file for example on how to use it.