Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mautic/composer-plugin
A composer plugin that mautic plugin and theme developers can use to distribute their code.
https://github.com/mautic/composer-plugin
Last synced: 25 days ago
JSON representation
A composer plugin that mautic plugin and theme developers can use to distribute their code.
- Host: GitHub
- URL: https://github.com/mautic/composer-plugin
- Owner: mautic
- License: mit
- Created: 2017-12-10T22:11:32.000Z (about 7 years ago)
- Default Branch: staging
- Last Pushed: 2021-10-27T04:19:36.000Z (about 3 years ago)
- Last Synced: 2024-10-29T18:48:29.548Z (about 1 month ago)
- Language: PHP
- Homepage:
- Size: 6.84 KB
- Stars: 14
- Watchers: 23
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- awesome-mautic - mautic/composer-plugin - A composer plugin that mautic plugin and theme developers can use to distribute their code. (Official Repositories)
README
# Composer Plugin for Mautic
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.
1) After adding a `composer.json` to the root of your plugin repository, run `composer require mautic/composer-plugin`.
2) Set the `type` in your `composer.json` file to either `mautic-plugin` or `mautic-theme`, depending on what
your code is.
3) Optionally, set the `install-directory-name` under `extra` 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 of `name` if not defined.
Your `composer.json` should now look something like this:```json
{
"name": "dongilbert/my-twig-extension-bundle",
"type": "mautic-plugin",
"extra": {
"install-directory-name": "MyTwigExtensionBundle"
},
"require": {
"mautic/composer-plugin": "*"
}
}
```