paquettg/php-html-parser

Error when running composer require in php8 using laravel8

melberth23 opened this issue · 5 comments

Hello,
I am using PHP 8 and Laravel 8.

When running composer require paquettg/php-html-parser I got an error root composer.json

Sample required library:
https://packagist.org/packages/guzzlehttp/guzzle#7.0.0 -> required PHP version is locked to 7.2.5

Hope someone can help.

Best regards

In the library requirements:

  • guzzlehttp/guzzle: ^7.0
  • guzzlehttp/psr7: ^1.6

Both were locked to the old version but the 2 libraries above have updated version and run in PHP8.

Check this:

This should be fixed by PR #289

这应该由 PR #289修复

It didn't work on Laravel8 and locked in a higher version of guzzlehttp/psr7.
#293

I don't have easy access to PHP 8.1 till after it ships. Will update PR for PHP 8.1 shortly after release if this PR is still open.

I don't have easy access to PHP 8.1 till after it ships. Will update PR for PHP 8.1 shortly after release if this PR is still open.

my environments:
php: 7.4
laravel: 8