mautic / composer-plugin
Installs: 66 186
Dependents: 50
Suggesters: 0
Security: 0
Stars: 14
Watchers: 23
Forks: 9
Open Issues: 1
Type:composer-plugin
Requires
- composer-plugin-api: ^1.0
Requires (Dev)
- composer/composer: ^1.5
This package is auto-updated.
Last update: 2024-10-29 04:47:31 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 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": { "mautic/composer-plugin": "*" } }