Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running composer require in php8 using laravel8 #287

Open
melberth23 opened this issue Sep 9, 2021 · 5 comments
Open

Error when running composer require in php8 using laravel8 #287

melberth23 opened this issue Sep 9, 2021 · 5 comments

Comments

@melberth23
Copy link

melberth23 commented Sep 9, 2021

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

@melberth23
Copy link
Author

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:

@phpfui
Copy link

phpfui commented Oct 7, 2021

This should be fixed by PR #289

@liuyong888
Copy link

liuyong888 commented Oct 25, 2021

这应该由 PR #289修复

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

@phpfui
Copy link

phpfui commented Oct 25, 2021

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.

@liuyong888
Copy link

liuyong888 commented Oct 26, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants