Error when running composer require in php8 using laravel8
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:
- https://packagist.org/packages/guzzlehttp/guzzle
- https://packagist.org/packages/guzzlehttp/psr7
This should be fixed by PR https://github.com/paquettg/php-html-parser/pull/289
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