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

Laravel 10? #177

Open
jamesautodude opened this issue Feb 16, 2023 · 4 comments
Open

Laravel 10? #177

jamesautodude opened this issue Feb 16, 2023 · 4 comments

Comments

@jamesautodude
Copy link

jamesautodude commented Feb 16, 2023

Hello, tried upgrading to Laravel 10 but I get these errors:

- lab404/laravel-impersonate 1.7.0 requires laravel/framework ^6.0 | ^7.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^10.0).
 
- lab404/laravel-impersonate[1.7.1, ..., 1.7.2] require laravel/framework ^6.0 | ^7.0 | ^8.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^10.0).

- lab404/laravel-impersonate 1.7.3 requires laravel/framework ^6.0 | ^7.0 | ^8.0 | ^9.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev] but it conflicts with your root composer.json require (^10.0).

- lab404/laravel-impersonate 1.7.4 requires laravel/framework ^6.0 | ^7.0 | ^8.0 | ^9.0 | ^10.0 -> satisfiable by laravel/framework[v10.0.0, 10.x-dev].

- Only one of these can be installed: illuminate/config[v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v10.0.0, 10.x-dev]. laravel/framework replaces illuminate/config and thus cannot coexist with it.

- Root composer.json requires lab404/laravel-impersonate ^1.7 -> satisfiable by lab404/laravel-impersonate[1.7.0, ..., 1.7.4].
@assghard
Copy link

Hello. I have the same error.

@404labfr please try to update PHP version from ^8.0 to ^8.1 in require section of composer.json file.
Laravel ^10.0 requires PHP 8.1 at least. Hope it will help

@drbyte
Copy link
Contributor

drbyte commented Mar 19, 2023

@404labfr please try to update PHP version from ^8.0 to ^8.1 in require section of composer.json file.

That's not necessary. The ^ in ^8.0 means "8.0 or higher, including 8.0.5, 8.1, 8.2.0, 8.9, 8.54.3, etc

@AlexanderWright
Copy link

I have this problem too.

composer.json --> php ^8.1
php -v 8.2.11

It turned out that there were other packages installed that required illuminate/support. This is not needed for Lv10.

Once those were updated in composer.json, laravel-impersonate installed correctly.

@jamesautodude
Copy link
Author

jamesautodude commented Nov 13, 2023

I have this problem too.

composer.json --> php ^8.1
php -v 8.2.11

It turned out that there were other packages installed that required illuminate/support. This is not needed for Lv10.

Once those were updated in composer.json, laravel-impersonate installed correctly.

Yeah I finally just went with a new project and sure enough that was likely the issue with mine too! I think I also updated everything like composer, npm/node, etc

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

No branches or pull requests

4 participants