# Trying to publish plugin to marketplace

**URL:** <https://forum.mautic.org/t/trying-to-publish-plugin-to-marketplace/24314>\
**Category:** Development\
**Created:** [June 1, 2022, 3:07pm UTC](https://forum.mautic.org/t/trying-to-publish-plugin-to-marketplace/24314 "2022-06-01T15:07:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mzagmajster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mzagmajster/32/687_2.png) [@mzagmajster](https://forum.mautic.org/u/mzagmajster)\
**Post date:** [June 1, 2022, 3:07pm UTC](https://forum.mautic.org/t/trying-to-publish-plugin-to-marketplace/24314/1 "2022-06-01T15:07:15Z")

</div>

Hi,

I am following these instructions: [Listing a Plugin in the Marketplace — Mautic Developer Documentation 3.0.0 documentation](https://mautic-developer.readthedocs.io/en/latest/marketplace/listing.html#step-1-checking-your-composer-json-file)

to prepare plugin for marketplace. I am running into issues when I am trying to run the composer install (just to see if composer install passes).

I run:

```auto
php7.4 /usr/local/bin/composer install

```

and I get the following error:

```auto
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - mautic/core-lib[4.0.0-alpha1, ..., 4.x-dev] require friendsofsymfony/oauth-server-bundle dev-doctrine-fix -> found friendsofsymfony/oauth-server-bundle[dev-master, 1.0.0, ..., 1.7.x-dev, 2.0.0-alpha.0, 2.0.x-dev (alias of dev-master)] but it does not match the constraint.
    - Root composer.json requires mautic/core-lib ^4.0 -> satisfiable by mautic/core-lib[4.0.0-alpha1, ..., 4.x-dev].

```

my composer.json file is as follows:

```auto
{
    "name": "mautic/my-bundle",
    "description": "My bundle",
    "type": "mautic-plugin",
    "keywords": [
        "mautic",
        "plugin",
        "integration"
    ],
    "extra": {
        "install-directory-name": "MyBundle"
    },
    "scripts": {
        "lint": "vendor/bin/parallel-lint --exclude ./vendor .",
        "checkcs": "php-cs-fixer fix --config=./.php_cs.dist.php --diff --dry-run",
        "fixcs": "php-cs-fixer fix --config=./.php_cs.dist.php"
    },
    "minimum-stability": "dev",
    "require": {
        "php": ">=7.4.0 <8.1",
        "mautic/core-lib": "^4.0"
    },
    "require-dev": {
        "php-parallel-lint/php-parallel-lint": "^1.3",
        "friendsofphp/php-cs-fixer": "2.19.0"
    }
}

```

I even tried removing dev packages all together, changing min. stability etc. but I am stuck on this step. I can see that other plugins require mautic/core-lib so what am I missing.

Thanks for any pointers

---

<div class="post-metadata">

**Author:** ![tobsowo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tobsowo/32/3096_2.png) [@tobsowo](https://forum.mautic.org/u/tobsowo)\
**Post date:** [June 2, 2022, 6:23am UTC](https://forum.mautic.org/t/trying-to-publish-plugin-to-marketplace/24314/2 "2022-06-02T06:23:14Z")

</div>

Can you check this out.  
[https://mautic-developer.readthedocs.io/en/latest/marketplace/listing.html](https://mautic-developer.readthedocs.io/en/latest/marketplace/listing.html)
