Trying to install CakePHP 4.5

According to this page I tried to upgrade my CakePHP version to 4.5:
Running composer require --update-with-dependencies "cakephp/cakephp:^4.5" results in:

./composer.json has been updated
Running composer update cakephp/cakephp --with-dependencies
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 cakephp/cakephp ^4.5, found cakephp/cakephp[4.5.0-RC1, 4.x-dev] but it does not match your minimum-stability.
  Problem 2
    - friendsofcake/crud is locked to version 6.2.0 and an update of this package was not requested.
    - friendsofcake/crud 6.2.0 requires cakephp/cakephp ^4.0 -> found cakephp/cakephp[4.0.0, ..., 4.4.17] but it conflicts with your root composer.json require (^4.5).
  Problem 3
    - maiconpinto/cakephp-adminlte-theme is locked to version 2.0.2 and an update of this package was not requested.
    - maiconpinto/cakephp-adminlte-theme 2.0.2 requires cakephp/cakephp ^4.0 -> found cakephp/cakephp[4.0.0, ..., 4.4.17] but it conflicts with your root composer.json require (^4.5).
  Problem 4
    - cakephp/bake is locked to version 2.9.3 and an update of this package was not requested.
    - cakephp/bake 2.9.3 requires cakephp/cakephp ^4.3.0 -> found cakephp/cakephp[4.3.0, ..., 4.4.17] but it conflicts with your root composer.json require (^4.5).
  Problem 5
    - cakephp/debug_kit is locked to version 4.9.4 and an update of this package was not requested.
    - cakephp/debug_kit 4.9.4 requires cakephp/cakephp ^4.4.0 -> found cakephp/cakephp[4.4.0, ..., 4.4.17] but it conflicts with your root composer.json require (^4.5).
  Problem 6
    - laminas/laminas-httphandlerrunner[1.0.0, ..., 1.2.0] require php ^7.1 -> your php version (8.2.10) does not satisfy that requirement.
    - laminas/laminas-httphandlerrunner[1.3.0, ..., 1.4.0] require php ^7.3 || ~8.0.0 -> your php version (8.2.10) does not satisfy that requirement.
    - laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.10) does not satisfy that requirement.
    - cakephp/authentication 2.10.1 requires cakephp/http ^4.4 -> satisfiable by cakephp/http[4.4.0, ..., 4.4.17].
    - cakephp/http[4.4.0, ..., 4.4.17] require laminas/laminas-httphandlerrunner ^1.0 -> satisfiable by laminas/laminas-httphandlerrunner[1.0.0, ..., 1.5.0].
    - cakephp/authentication is locked to version 2.10.1 and an update of this package was not requested.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

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

OK, trying this
composer require --with-all-dependencies "cakephp/cakephp:^4.5"

results in

./composer.json has been created
Running composer update cakephp/cakephp --with-all-dependencies
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 cakephp/cakephp ^4.5, found cakephp/cakephp[4.5.0-RC1, 4.x-dev] but it does not match your minimum-stability.


Installation failed, deleting ./composer.json.

I would like to upgrade to 4.5 so I can remove all deprecation messages, so I am prepared for CakePHP 5. How can I upgrade, what I have to modify?

Change your minimum stability?

CakePHP 4.5 is not released yet, only CakePHP 5.0
We have a RC1 for it though but you need to adjust your composer.json to

"cakephp/cakephp": "4.5.0-RC1",

and add

    "minimum-stability": "dev",
    "prefer-stable": true

to allow dev packages to be installed as well.

The do a composer update -W and it should install

OK Kevin. I must have missed that CakePHP 4.5 is not released yet in the link I mentioned in my 1st post.
The question is, if it’s a good idea to use the RC1 in a production environment. Usually not, so I think I should wait until 4.5 has been officially released. Do you agree?

Thank you

Well I have used the current state of 4.next for the past 2 months and had no problems.

But still this is up 2 you if you want to do that. But you still have more then enough time to upgrade to 4.5 or 5.0 so I would just wait till 4.5 is out, update to that and fix all deprecations and then go to 5.0