dwightwatson / validating

Automatically validating Eloquent models for Laravel
MIT License
968 stars 76 forks source link

Failed requirements for Laravel-10 #235

Closed txdFabio closed 1 year ago

txdFabio commented 1 year ago

Trying to update from laravel-9 to laravel-10 gives the following error:

Using version ^7.0 for watson/validating ./composer.json has been updated Running composer update watson/validating Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.

Problem 1

  • Root composer.json requires watson/validating ^7.0 -> satisfiable by watson/validating[7.0.0].
  • watson/validating 7.0.0 requires illuminate/contracts ~8.0|~9.0 -> found illuminate/contracts[v8.0.0, ..., v8.83.27, v9.0.0, ..., v9.52.0] but these were not loaded, likely because it conflicts with another require.

You can also try re-running composer require with an explicit version constraint, e.g. "composer require watson/validating:*" to figure out if any version is installable, or "composer require watson/validating:^2.1" if you know which you need.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Environment details

Component Version
Framework Laravel
Framework version 10.0.0
Package version 7.0
PHP version 8.2

Steps to Reproduce

composer create-project laravel/laravel laravel_10 cd laravel_10 composer require owen-it/laravel-auditing