mpociot / laravel-test-factory-helper

Generate Laravel test factories from your existing models
935 stars 87 forks source link

Does not work with Laravel 6.0 cannot install #60

Open rokaspaulik opened 3 years ago

rokaspaulik commented 3 years ago

Conflicts with fakerphp/faker, because it requires higher version if I understand correctly. I do not want to do any workarounds, because later upgrading to new Laravel LTS version might cause more headache.

After running:

composer require mpociot/laravel-apidoc-generator

This happens:

./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove laravel/framework v6.20.4
    - Conclusion: don't install laravel/framework v6.20.4
    - mpociot/laravel-apidoc-generator 2.1.8 requires laravel/framework ~5.4 -> satisfiable by laravel/framework[5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev].
    - mpociot/laravel-apidoc-generator 2.x-dev requires laravel/framework ~5.4 -> satisfiable by laravel/framework[5.4.x-dev, 5.5.x-dev, 5.6.x-dev, 5.7.x-dev, 5.8.x-dev].
    - Can only install one of: laravel/framework[5.5.x-dev, v6.20.4].
    - Can only install one of: laravel/framework[5.6.x-dev, v6.20.4].
    - Can only install one of: laravel/framework[5.7.x-dev, v6.20.4].
    - Can only install one of: laravel/framework[5.8.x-dev, v6.20.4].
    - Can only install one of: laravel/framework[5.4.x-dev, v6.20.4].
    - Installation request for laravel/framework (locked at v6.20.4, required as ^6.20) -> satisfiable by laravel/framework[v6.20.4].
    - Installation request for mpociot/laravel-apidoc-generator ^2.1.8 -> satisfiable by mpociot/laravel-apidoc-generator[2.1.8, 2.x-dev].

Installation failed, reverting ./composer.json to its original content.

Rokas@DESKTOP MINGW64 ~/Desktop/lara-six/rest-pass
$ composer require mpociot/laravel-apidoc-generator

Rokas@DESKTOP MINGW64 ~/Desktop/lara-six/rest-pass
$ composer require mpociot/laravel-apidoc-generator
Using version ^4.8 for mpociot/laravel-apidoc-generator
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install mpociot/laravel-apidoc-generator 4.8.2
    - Conclusion: don't install mpociot/laravel-apidoc-generator 4.8.1
    - Conclusion: don't install mpociot/laravel-apidoc-generator 4.8.0
    - Conclusion: remove fakerphp/faker v1.11.0
    - Installation request for mpociot/laravel-apidoc-generator ^4.8 -> satisfiable by mpociot/laravel-apidoc-generator[4.8.0, 4.8.1, 4.8.2, v4.x-dev].
    - Conclusion: don't install fakerphp/faker v1.11.0
    - mpociot/laravel-apidoc-generator v4.x-dev requires fzaninotto/faker ^1.8 -> satisfiable by fakerphp/faker[1.9.x-dev, v1.9.1], fzaninotto/faker[1.9.x-dev, v1.8.0, v1.9.0, v1.9.1].
    - Can only install one of: fakerphp/faker[1.9.x-dev, v1.11.0].
    - Can only install one of: fakerphp/faker[v1.9.1, v1.11.0].
    - fzaninotto/faker 1.9.x-dev conflicts with fakerphp/faker[v1.11.0].
    - fzaninotto/faker v1.8.0 conflicts with fakerphp/faker[v1.11.0].
    - fzaninotto/faker v1.9.0 conflicts with fakerphp/faker[v1.11.0].
    - fzaninotto/faker v1.9.1 conflicts with fakerphp/faker[v1.11.0].
    - Installation request for fakerphp/faker (locked at v1.11.0, required as ^1.9.1) -> satisfiable by fakerphp/faker[v1.11.0].

Installation failed, reverting ./composer.json to its original content.