Laravel 10?
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].
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
@404labfr please try to update PHP version from
^8.0to^8.1inrequiresection ofcomposer.jsonfile.
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
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.
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