# Installation Mautic-Plugin via composer -- Installation failed --

**URL:** <https://forum.mautic.org/t/installation-mautic-plugin-via-composer-installation-failed/28859>\
**Category:** Product Support\
**Tags:** mautic-4\
**Created:** [August 7, 2023, 9:59am UTC](https://forum.mautic.org/t/installation-mautic-plugin-via-composer-installation-failed/28859 "2023-08-07T09:59:58Z")\
**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 7, 2023, 9:59am UTC](https://forum.mautic.org/t/installation-mautic-plugin-via-composer-installation-failed/28859/1 "2023-08-07T09:59:58Z")

</div>

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

**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 pubkeys:  
Tags Public Key Fingerprint: 57815BA2 7E54DC31 7ECC7CC5 573090D0 87719BA6 8F3BB723 4E5D42D0 84A14642  
Dev Public Key Fingerprint: 4AC45767 E5EC2265 2F0C1167 CBBB8A2B 0C708369 153E328C AD90147D AFE50952  
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.**  
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.

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].  
Steps I have tried to fix the problem:
