Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Html Parser Laravel Package

paquettg/php-html-parser

Fast, lightweight HTML parser for PHP that turns messy markup into a DOM-like tree. Crawl and scrape pages, query elements with CSS selectors, and extract text/attributes easily. Works with imperfect HTML and focuses on simple, fluent usage.

View on GitHub
Deep Wiki
Context7
3.1.1

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.0

Changed

  • Updated to include Tidelift subscription option.
  • Removed php-coverall.
  • Removed Guzzle 6 Adapter.
  • Added support for Guzzle 7.
3.0.1

Changed

  • Updated all DTOs to make them immutable.
  • Updated documentation.
3.0.0

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.1

Added

  • Added php_cs.
  • Added support for PSR7 requests.
  • Added the attribute type dto.
2.2.0

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.0

Added

  • New removeSmartyScripts configuration setting. Defaults to true.
  • Added declare(strict_types=1) to all source files.
  • Added new option depthFirstSearch.
  • Deprecated option depthFirstSearch and marked for removal in 3.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-0 to PSR-4 autoloading.
  • Updated CONTRIBUTING.md contents.
  • Updated docblocks.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor