Skip to content

Problem with the mautic/plugin-helloworld plugin #7

@PierreAmmeloot

Description

@PierreAmmeloot

Hello,

With the developer team we tried to install the "plugin-helloworld" to understand the creation of new plugins for Mautic.
Here is what we did:

  1. I first tried to install it via composer (the new recommended method), except that this plugin is not available on packagist.org
  2. Then I tried to install it by putting it locally next to the project and require it like that.
  3. But in its dependencies there is a line mautic/composer-plugin which is not compatible with composer2 (I deleted it)
  4. Then since I'm on a mautic in version 4.2, I have an error because the function GuzzleHttp\Psr7\parse_query doesn't exist anymore (I replaced it by the call to the method GuzzleHttp\Psr7\Query::parse)

With all these modifications the data sync seems to work.

I am taking the liberty of making this feedback because I think it is possible to simplify the installation and the handling of this "Hello World" plugin. What do you think about it?

Pierre

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions