mautic / composer-plugin
Installs: 67 299
Dependents: 50
Suggesters: 0
Security: 0
Stars: 14
Watchers: 22
Forks: 8
Open Issues: 1
Type:composer-plugin
pkg:composer/mautic/composer-plugin
Requires
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.5
This package is auto-updated.
Last update: 2025-10-29 02:29:23 UTC
README
This plugin will allow Mautic users that manage their instance via composer to easily install your plugins and themes. Simply host your plugin on GitHub, add it to packagist, and you're ready to go.
There are two requirements to using this plugin.
- After adding a composer.jsonto the root of your plugin repository, runcomposer require mautic/composer-plugin.
- Set the typein yourcomposer.jsonfile to eithermautic-pluginormautic-theme, depending on what your code is.
- Optionally, set the install-directory-nameunderextrato define the directory the plugin will be installed into. This should match your plugin's namespace. This will default to a camel case version ofnameif not defined. Yourcomposer.jsonshould now look something like this:
{
  "name": "dongilbert/my-twig-extension-bundle",
  "type": "mautic-plugin",
  "extra": {
    "install-directory-name": "MyTwigExtensionBundle"  
  },
  "require": {
    "mautic/composer-plugin": "*"
  }
}