Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unresolvable set of packages #62397

@bborrel

Description

@bborrel

Symfony version(s) affected

8.0.x-dev

Description

As of November 13th, 2025, running the command:
symfony new my_project_directory --version="8.0.x-dev" --webapp --debug

results in:

symfony new my_project_directory --version="8.0.x-dev" --webapp --debug
* Creating a new Symfony 8.0.x-dev project with Composer
Creating a "symfony/skeleton" project at "./my_project_directory"
Installing symfony/skeleton (8.0.x-dev e7bc9bbf6dbe5344a0657dfafb4877265936cdb7)
  - Installing symfony/skeleton (8.0.x-dev e7bc9bb): Extracting archive
Created project in /Users/benoitborrel/my_project_directory
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking symfony/flex (v2.9.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/flex (v2.9.0): Extracting archive
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!

Run composer recipes at any time to see the status of your Symfony recipes.

Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "8.0.*"
Updating dependencies
Lock file operations: 30 installs, 0 updates, 0 removals
  - Locking psr/cache (3.0.0)
  - Locking psr/container (2.0.2)
  - Locking psr/event-dispatcher (1.0.0)
  - Locking psr/log (3.0.2)
  - Locking symfony/cache (v8.0.0-RC1)
  - Locking symfony/cache-contracts (v3.6.0)
  - Locking symfony/config (v8.0.0-RC1)
  - Locking symfony/console (v8.0.0-RC1)
  - Locking symfony/dependency-injection (v8.0.0-RC1)
  - Locking symfony/deprecation-contracts (v3.6.0)
  - Locking symfony/dotenv (v8.0.0-RC1)
  - Locking symfony/error-handler (v8.0.0-RC1)
  - Locking symfony/event-dispatcher (v8.0.0-RC1)
  - Locking symfony/event-dispatcher-contracts (v3.6.0)
  - Locking symfony/filesystem (v8.0.0-RC1)
  - Locking symfony/finder (v8.0.0-RC1)
  - Locking symfony/framework-bundle (v8.0.0-RC1)
  - Locking symfony/http-foundation (v8.0.0-RC1)
  - Locking symfony/http-kernel (v8.0.0-RC1)
  - Locking symfony/polyfill-intl-grapheme (v1.33.0)
  - Locking symfony/polyfill-intl-normalizer (v1.33.0)
  - Locking symfony/polyfill-mbstring (v1.33.0)
  - Locking symfony/polyfill-php85 (v1.33.0)
  - Locking symfony/routing (v8.0.0-RC1)
  - Locking symfony/runtime (v8.0.0-RC1)
  - Locking symfony/service-contracts (v3.6.1)
  - Locking symfony/string (v8.0.0-RC1)
  - Locking symfony/var-dumper (v8.0.0-RC1)
  - Locking symfony/var-exporter (v8.0.0-RC1)
  - Locking symfony/yaml (v8.0.0-RC1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 30 installs, 0 updates, 0 removals
  - Installing symfony/runtime (v8.0.0-RC1): Extracting archive
  - Installing psr/cache (3.0.0): Extracting archive
  - Installing symfony/cache-contracts (v3.6.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.33.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.33.0): Extracting archive
  - Installing symfony/string (v8.0.0-RC1): Extracting archive
  - Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
  - Installing psr/container (2.0.2): Extracting archive
  - Installing symfony/service-contracts (v3.6.1): Extracting archive
  - Installing symfony/console (v8.0.0-RC1): Extracting archive
  - Installing symfony/dotenv (v8.0.0-RC1): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v3.6.0): Extracting archive
  - Installing symfony/routing (v8.0.0-RC1): Extracting archive
  - Installing symfony/polyfill-php85 (v1.33.0): Extracting archive
  - Installing symfony/http-foundation (v8.0.0-RC1): Extracting archive
  - Installing symfony/event-dispatcher (v8.0.0-RC1): Extracting archive
  - Installing symfony/var-dumper (v8.0.0-RC1): Extracting archive
  - Installing psr/log (3.0.2): Extracting archive
  - Installing symfony/error-handler (v8.0.0-RC1): Extracting archive
  - Installing symfony/http-kernel (v8.0.0-RC1): Extracting archive
  - Installing symfony/finder (v8.0.0-RC1): Extracting archive
  - Installing symfony/filesystem (v8.0.0-RC1): Extracting archive
  - Installing symfony/var-exporter (v8.0.0-RC1): Extracting archive
  - Installing symfony/dependency-injection (v8.0.0-RC1): Extracting archive
  - Installing symfony/config (v8.0.0-RC1): Extracting archive
  - Installing symfony/cache (v8.0.0-RC1): Extracting archive
  - Installing symfony/framework-bundle (v8.0.0-RC1): Extracting archive
  - Installing symfony/yaml (v8.0.0-RC1): Extracting archive
Generating autoload files
27 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Symfony operations: 4 recipes (4f22ad0a875c9e2eddc98e0619e02a7b)
  - Configuring symfony/flex (>=2.4): From github.com/symfony/recipes:main
  - Configuring symfony/framework-bundle (>=7.4): From github.com/symfony/recipes:main
  - Configuring symfony/console (>=5.3): From github.com/symfony/recipes:main
  - Configuring symfony/routing (>=7.4): From github.com/symfony/recipes:main
Executing script cache:clear [OK]
Executing script assets:install public [OK]

 What's next?


Some files have been created and/or updated to configure your new packages.
Please review, edit and commit them: these files are yours.

 symfony/framework-bundle  instructions:

  * Run your application:
    1. Go to the project directory
    2. Create your code repository with the git init command
    3. Download the Symfony CLI at https://symfony.com/download to install a development web server

  * Read the documentation at https://symfony.com/doc

No security vulnerability advisories found.

No security vulnerability advisories found.
* Setting up the project under Git version control
  (running git init /Users/benoitborrel/my_project_directory)

  Initialized empty Git repository in /Users/benoitborrel/my_project_directory/.git/
  [main (root-commit) 9199690] Add initial set of files
   20 files changed, 3601 insertions(+)
   create mode 100644 .editorconfig
   create mode 100644 .env
   create mode 100644 .env.dev
   create mode 100644 .gitignore
   create mode 100755 bin/console
   create mode 100644 composer.json
   create mode 100644 composer.lock
   create mode 100644 config/bundles.php
   create mode 100644 config/packages/cache.yaml
   create mode 100644 config/packages/framework.yaml
   create mode 100644 config/packages/routing.yaml
   create mode 100644 config/preload.php
   create mode 100644 config/reference.php
   create mode 100644 config/routes.yaml
   create mode 100644 config/routes/framework.yaml
   create mode 100644 config/services.yaml
   create mode 100644 public/index.php
   create mode 100644 src/Controller/.gitignore
   create mode 100644 src/Kernel.php
   create mode 100644 symfony.lock
./composer.json has been updated
Running composer update symfony/webapp-pack
Loading composer repositories with package information
Restricting packages listed in "symfony/symfony" to "8.0.*"
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires symfony/webapp-pack * -> satisfiable by symfony/webapp-pack[dev-forbid-dbal-4, dev-main, v1.0.0, ..., v1.3.0, 9999999-dev].
    - symfony/maker-bundle[1.0.0, ..., v1.22.0] require php ^7.1.3 -> your php version (8.4.0RC1) does not satisfy that requirement.
    - symfony/maker-bundle[v1.0.1, ..., v1.16.0] require php ^7.0.8 -> your php version (8.4.0RC1) does not satisfy that requirement.
    - symfony/maker-bundle[v1.23.0, ..., v1.29.2] require symfony/config ^3.4|^4.0|^5.0 -> found symfony/config[v3.4.0-BETA1, ..., 3.4.x-dev, v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle[v1.31.1, ..., v1.34.1] require symfony/config ^4.0|^5.0 -> found symfony/config[v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle v1.35.0 requires symfony/config ^4.0|^5.0|^6.0 -> found symfony/config[v4.0.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle[v1.36.0, ..., v1.39.1] require symfony/config ^4.4|^5.0|^6.0 -> found symfony/config[v4.4.0-BETA1, ..., 4.4.x-dev, v5.0.0-BETA1, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle[v1.40.0, ..., v1.50.0] require symfony/config ^5.4.7|^6.0 -> found symfony/config[v5.4.7, ..., 5.4.x-dev, v6.0.0-BETA1, ..., 6.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle[v1.51.0, ..., v1.53.0] require symfony/config ^6.3|^7.0 -> found symfony/config[v6.3.0-BETA1, ..., 6.4.x-dev, v7.0.0-BETA1, ..., 7.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/maker-bundle[v1.54.0, ..., 1.x-dev] require symfony/config ^6.4|^7.0 -> found symfony/config[v6.4.0-BETA1, ..., 6.4.x-dev, v7.0.0-BETA1, ..., 7.4.x-dev] but the package is fixed to v8.0.0-RC1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - symfony/webapp-pack[dev-forbid-dbal-4, dev-main, v1.0.0, ..., v1.3.0] require symfony/maker-bundle ^1.0 -> satisfiable by symfony/maker-bundle[1.0.0, ..., 1.x-dev].

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.


  unable to run /opt/local/bin/php84 /usr/local/bin/composer require webapp

How to reproduce

  1. Replicate same configuration:
  • MacOS Sonoma 14.8
  • MacPort 2.11.6
  • PHP 8.4.0RC1 (cli) (built: Oct 13 2024 07:48:54) (NTS)
  • Composer version 2.9.1 2025-11-13 16:10:38
  • Symfony CLI version 5.15.1 (c) 2021-2025 Fabien Potencier (2025-11-14T08:49:11-05:00 - stable) and run:
  1. Run the command:
    symfony new my_project_directory --version="8.0.x-dev" --webapp

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions