unikrn / mautic-composer-plugin
Composer 2 Plugin for Mautic. Forked from mautic/composer-plugin
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 9
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.5
This package is not auto-updated.
Last update: 2025-04-24 02:36:19 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.json
to the root of your plugin repository, runcomposer require unikrn/mautic-composer-plugin
. - Set the
type
in yourcomposer.json
file to eithermautic-plugin
ormautic-theme
, depending on what your code is. - Optionally, set the
install-directory-name
underextra
to define the directory the plugin will be installed into. This should match your plugin's namespace. This will default to a camel case version ofname
if not defined. Yourcomposer.json
should now look something like this:
{ "name": "dongilbert/my-twig-extension-bundle", "type": "mautic-plugin", "extra": { "install-directory-name": "MyTwigExtensionBundle" }, "require": { "unikrn/mautic-composer-plugin": "*" } }