What happened?
I wanted to install laravel-test-generator using composer, but the following incompatibilities occurred, making it impossible to use it.
Problem 1
Root composer.json requires fakerphp/faker 1.8, found fakerphp/faker[dev-dependabot/composer/vendor-bin/php-cs-fixer/friendsofphp/php-cs-fixer-3.1.0, dev-dependabot/composer/vendor-bin/psalm/vimeo/psalm-4.9.3, dev-dependabot/composer/vendor-bin/psalm/vimeo/psalm-4.10.0, dev-dependabot/composer/vendor-bin/phpstan/phpstan/phpstan-0.12.97, dev-dependabot/composer/vendor-bin/phpstan/phpstan/phpstan-0.12.99, dev-main, v1.9.1, ..., 1.17.x-dev (alias of dev-main)] but it does not match the constraint.
Problem 2
Root composer.json requires vigneshc91/laravel-test-generator ^0.0.5 -> satisfiable by vigneshc91/laravel-test-generator[v0.0.5].
vigneshc91/laravel-test-generator v0.0.5 requires fzaninotto/faker ^1.8 -> satisfiable by fzaninotto/faker[v1.8.0, ..., 1.9.x-dev (alias of dev-master)].
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker v1.9.2.
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker v1.9.1.
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker v1.9.0.
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker v1.8.0.
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker 1.9.x-dev.
fakerphp/faker v1.15.0 conflicts with fzaninotto/faker v1.9.2.x-dev.
knuckleswtf/scribe 2.7.10 requires fakerphp/faker ^1.9.1 -> satisfiable by fakerphp/faker[v1.15.0].
knuckleswtf/scribe is locked to version 2.7.10 and an update of this package was not requested.
My environment:
PHP version (from php -v): 7.4.20
Framework (Laravel): v8.49.2
I guess it's because Laravel has ported from fzaninotto/faker to fakerphp/faker (the successor). Changing the name in our composer.json should fix it.
What happened? I wanted to install laravel-test-generator using composer, but the following incompatibilities occurred, making it impossible to use it.
My environment: PHP version (from php -v): 7.4.20 Framework (Laravel): v8.49.2
I guess it's because Laravel has ported from fzaninotto/faker to fakerphp/faker (the successor). Changing the name in our composer.json should fix it.