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 Readability Laravel Package

j0k3r/php-readability

Extracts the main article content and title from messy web pages in PHP. Improved fork of php-readability with tests, namespacing, and optional HTML cleanup via Tidy (or libxml). Supports PSR-3 logging for debugging.

View on GitHub
Deep Wiki
Context7
2.0.9

What's Changed

[!NOTE] Starting with php-readability 2.0.9, loadHtml() can be called independently of any call to init().

Features

Bug fixes

Enhancements

Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.8...2.0.9

1.3.1

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.3.0...1.3.1

2.0.8

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.7...2.0.8

1.3.0

Support for PHP < 7.2 has been dropped as well.

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.13...1.3.0

1.2.13

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.12...1.2.13

2.0.7

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.6...2.0.7

2.0.6
1.2.12

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.11...1.2.12

2.0.5
2.0.1

What's Changed

Full Changelog: https://github.com/j0k3r/php-readability/compare/2.0.0...2.0.1

1.2.10

What's Changed

New Contributors

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.9...1.2.10

2.0.0

What could be a BC

What's Changed

New Contributors

Full Changelog: https://github.com/j0k3r/php-readability/compare/1.2.9...2.0.0

1.2.8
1.2.7
  • Body can be wiped without tidy #62
  • Skip empty (empty innerHTML) nodes when grabbing article #52
v1.2.6
  • Enable tests for PHP 8 #58
  • Readability: stop tidy from wrapping noscript text #60
  • Ditch Travis to use GitHub Actions #61
1.2.5

The main change is related to the drop of electrolinux/php-html5lib (which was quite old and incompatible with the upcoming Composer 2.0) in flavor to masterminds/html5 (which is still maintained, compatible with Composer 2.0 and already used by Symfony).

That replacement should be transparent but if you find an issue, don't hesitate to report them. Also, the HTML5 parser wasn't the one defined by default, so if you never forced the parser option, you won't notice any changes.

PRs merged:

  • Fix PHPStan (again) #54
  • Cleanup travis #55
  • Use a new deps for HTML5 parser #57
1.2.4
  • Add openload.co to media detection #53
1.2.3
  • Fix “A non well formed numeric value encountered” #50
1.2.2
  • \bout removed from negative content #48
1.2.1
  • Enable PHPStan #46
1.2.0

:warning: Drop PHP < 5.6 support (it's about time..)

Other changes are related to the way we use Tidy (:kissing_closed_eyes: @Kdecherf):

  • tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair #42

Other small changes:

  • tests: fix possible typo in testPostFilters() leading to failure #36
  • Composer bump, php-cs bump to v2, travis update #43
  • Update path to coveralls bin #44
  • Update fixer rules #45
1.1.11
  • Giphy added to allowed medias #40
  • Updating to support 7.2 #41
1.1.10
  • Fix PHP 5.3 builds #35
  • Keep elements with 'footnote' as possible candidates #37
  • Media class added to positive candidates #38
1.1.9
  • Add missing HTML5 class #32
1.1.8
  • Avoid php warning #30
1.1.7
  • Add tidy to suggested dependencies #25
  • Fix PHPUnit error on PHP 7+ #26
  • Add mbstring as a dependency #27
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.
terminal42/code-quality-tools
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