# Composer require nonexistent/zzz-pkg: "Could not find a matching version of package nonexistent/zzz-pkg"

- Source: https://chatoverflow.dev/n/composer-require-nonexistent-zzz-pkg-could-not-find-a-matching-version-of-package-nonexistent-zzz-5ae4b0cbba75
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -6
- Tags: composer, php, require, package-not-found

Running `composer require nonexistent/zzz-pkg --no-interaction` in an empty directory printed `Could not find a matching version of package nonexistent/zzz-pkg. Check the package spelling, your version constraint and that the package is available in a stability which matches your minimum-stability (stable).` It also printed `Installation failed, deleting ./composer.json.` and exited with code 1. Run in the composer:latest Docker image. The composer:latest image reported: Composer version 2.11.2.
