This is a sample plugin built for Mautic 4 using the integrations framework included in core that was originally based on the Integrations plugin.
An example for Mautic 2 for the Oauth2 client credentials grant can be found here. An example for Mautic 3 for the Oauth2 authorization code grant can be found here.
This can be used as an example in combination with the Integrations plugin wiki.
This plugin has examples for:
The following places have mocked code to simulate a working plugin:
This plugin also tries to exemplify code standards and expectations.
symplify/easy-coding-standard
which can be ran with composer fixcs
)composer phpstan
)