# Require composer-plugin-api ^1.0 -\> found composer-plugin-api\[2.3.0\] but it does not match the constraint

**URL:** <https://forum.mautic.org/t/require-composer-plugin-api-1-0-found-composer-plugin-api-2-3-0-but-it-does-not-match-the-constraint/28874>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 8, 2023, 8:59am UTC](https://forum.mautic.org/t/require-composer-plugin-api-1-0-found-composer-plugin-api-2-3-0-but-it-does-not-match-the-constraint/28874 "2023-08-08T08:59:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ziedpad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ziedpad/32/3736_2.png) [@Ziedpad](https://forum.mautic.org/u/Ziedpad)\
**Post date:** [August 8, 2023, 8:59am UTC](https://forum.mautic.org/t/require-composer-plugin-api-1-0-found-composer-plugin-api-2-3-0-but-it-does-not-match-the-constraint/28874/1 "2023-08-08T08:59:21Z")

</div>

**Your software**  
Mautic Version: 4.4.9  
PHP version: 8.0  
Browser: Chrome  
Composer Version: 2.5.8

**Your problem**  
My problem is:  
I made a Switch to Composer in Mautic.  
I installed composer and everything in the following instructions: [How to switch to Composer | Mautic](https://docs.mautic.org/en/setup/switch-to-composer)  
composer version: **Composer version 2.5.8**  
**composer diagnose** :  
_Checking platform settings: OK  
Checking git settings: OK git version 2.30.2  
Checking http connectivity to packagist: OK  
Checking https connectivity to packagist: OK  
Checking [github.com](http://github.com/) rate limit: OK  
Checking disk free space: OK  
Checking composer version: OK  
Composer version: 2.5.8  
PHP version: 8.0.29  
PHP binary path: /usr/bin/php8.0  
OpenSSL version: OpenSSL 1.1.1n 15 Mar 2022  
cURL version: 7.74.0 libz 1.2.11 ssl OpenSSL/1.1.1n  
zip: extension present, unzip present, 7-Zip not available_

I want to install a Plugin Recaptcha v3 from composer:  
**composer require koco/mautic-recaptcha-bundle:3.**

These errors are showing in the log:  
Your requirements could not be resolved to an installable set of packages.

Problem 1

- mautic/composer-plugin[1.0.0, …, 1.0.1] require composer-plugin-api ^1.0 → found composer-plugin-api[2.3.0] but it does not match the constraint.
- koco/mautic-recaptcha-bundle[3.0.0, …, 3.1.0] require mautic/composer-plugin ^1.0 → satisfiable by mautic/composer-plugin[1.0.0, 1.0.1].
- Root composer.json requires koco/mautic-recaptcha-bundle 3.\* → satisfiable by koco/mautic-recaptcha-bundle[3.0.0, 3.0.1, 3.1.0].

These errors are showing in the log:  
Your requirements could not be resolved to an installable set of packages.  
Steps I have tried to fix the problem:
