# What are the benefits of using Mautic with Composer?

**URL:** <https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009>\
**Category:** General Discussion\
**Created:** [May 8, 2024, 2:01pm UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009 "2024-05-08T14:01:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![okagoogle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/okagoogle/32/12661_2.png) [@okagoogle](https://forum.mautic.org/u/okagoogle)\
**Post date:** [May 8, 2024, 2:01pm UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/1 "2024-05-08T14:01:56Z")

</div>

I noticed that many people recommended using Composer when installing Mautic. I’m not sure what’s wrong with the normal installation method, like putting all the files into the root directory and continuing with the GUI setup wizard. Why do I need to use Composer, and what are the benefits of it?

Another question, should I consider using Mautic 4 or 5 for production purposes?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 8, 2024, 2:07pm UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/2 "2024-05-08T14:07:21Z")

</div>

Plz someone correct me, but this is how I can explain it:

Mautic relies on 2 things:

1. mautic files
2. files in vendor folder  
Everything should be compatible with your php version  
Composer will keep everything uptodate.  
If you don’t use composer, it can happen, that a newer version of a vendor file that does a small thing in Matuic is required, but you don’t know and you won’t update and suddenly something is not working in your Mautic.

---

<div class="post-metadata">

**Author:** ![okagoogle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/okagoogle/32/12661_2.png) [@okagoogle](https://forum.mautic.org/u/okagoogle)\
**Post date:** [May 9, 2024, 3:03am UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/3 "2024-05-09T03:03:33Z")

</div>

So, you’re saying that the composer is the easiest way to update Mautic without any issues?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 9, 2024, 8:09am UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/4 "2024-05-09T08:09:59Z")

</div>

I’m saying if you learn composer, and you know how it works, then it’s easier to maintain your Mautic, including updates.

---

<div class="post-metadata">

**Author:** ![okagoogle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/okagoogle/32/12661_2.png) [@okagoogle](https://forum.mautic.org/u/okagoogle)\
**Post date:** [May 9, 2024, 11:25am UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/5 "2024-05-09T11:25:53Z")

</div>

Gotcha! What would you suggest for production purposes, 4 or 5?

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [May 9, 2024, 11:51am UTC](https://forum.mautic.org/t/what-are-the-benefits-of-using-mautic-with-composer/32009/6 "2024-05-09T11:51:13Z")

</div>

I recommend M5.1 once it’s released.
