FriendlyDotCH / mautic-multi-domain

MIT License
38 stars 18 forks source link

Add Composer Support (Mautic 4) #4

Closed rjocoleman closed 2 years ago

rjocoleman commented 2 years ago

This replaces #3

This PR add support for installing on Mautic 4 via composer:

To add this to Packagist.org it needs to be submitted (one time) https://packagist.org/about and https://packagist.org/packages/submit

To install the package (for users):

# latest stable/tagged version
composer require friendlyis/mauticmultidomain
# or to track a branch
composer require friendlyis/mauticmultidomain:dev-main

This works with Mautic 4 and the "Recommended Project" template detailed here: https://docs.mautic.org/en/setup/how-to-install-mautic/install-and-manage-mautic-with-composer and https://github.com/mautic/recommended-project

I think the subfolder depth change to the repo will help with issues like #2 as downloading the master branch zip. I have cleaned up the README a little to clarify the zip/manual install process.

rjocoleman commented 2 years ago

Closing this as I stupidly based it on my main branch and I'm merging unrelated commits to my fork, I do not want to pollute this PR. I can re-open the relevant cherry-picked mautic 4 / composer 2 changes if anyone is interested.

applied-digilogistics commented 1 year ago

Closing this as I stupidly based it on my main branch and I'm merging unrelated commits to my fork, I do not want to pollute this PR. I can re-open the relevant cherry-picked mautic 4 / composer 2 changes if anyone is interested.

Hi - I have installed Mautic 4.3.1 but this plugin is not working after installation. As per Jozsef Keller there is no composer file attached to this Plugin. Is it possible for you to add one? Thx.