I have a working installation with CakePHP 3.0.13. I'd like to upgrade to 3.8 before trying to jump to the 4.x branch. I've launched this: composer require cakephp/cakephp:3.8.12
and I get the next results:
./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
- cakephp/migrations 1.3.2 requires cakephp/cakephp 3.0.* -> no matching package found.
- cakephp/migrations 1.3.2 requires cakephp/cakephp 3.0.* -> no matching package found.
- cakephp/migrations 1.3.2 requires cakephp/cakephp 3.0.* -> no matching package found.
- Installation request for cakephp/migrations 1.3.2 -> satisfiable by cakephp/migrations[1.3.2].
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
It seems there is a dependency problem with the migrations package: Cake requires an upgrade on Migrations, but Migrations requires that cake remains in 3.0.*. In vendor/cakephp/migrations/composer.json
I have:
...
"require": {
"php": ">=5.4",
"robmorgan/phinx": ">=0.4.2 <0.5.0",
"cakephp/cakephp": "3.0.*"
},
...
I've tried also to upgrade Migrations using composer, but I get the opposite problem: cakephp should be upgraded, so I'm stuck. Any suggestions? Thx in advance!