We are developing a Magento 2.4.x website with the following:
- Custom developed theme, installed using Composer to /vendor
- 10+ third party extensions installed using Composer to /vendor (such as BSS Commerce One Page Checkout)
We are now developing our own extension which modifies both Magento 2 core files and also files within third party extensions.
Because we are overriding third party extensions installed in /vendor, do we need to install our custom extension in /app/code or can we also install this using Composer into /vendor?
Thanks,
Matt
Solved! Go to Solution.
@matt_ryding
Yes, it is okay to install the module using composer on the vendor. Since all override files are already mentioned in di.xml, no conflict occurred on both the original and override module..
If my answer is useful please accept as a solution and give Kudo
Thank you.
Hey @matt_ryding...
Magento 2 use composer for managing modules, when you install a module through composer it is added to vendor/<vendor-name>/<module>.
You should not edit any code inside the vendor folder. If you’re developing your own module or if you want to continue the development of an existing module, add your files or clone a git repo to app/code/<vendor-name>/<module>.
If my answer is useful please accept as a solution and give Kudo
Thank You
Hey @harshityadav
Thanks for your update below.
I confirm that we are not modifying any code inside /vendor folder, maybe I have used the wrong terms for this.
We are continuing the development of an existing module and our development server stores our own module in app/code.
But, on our production server I would like to manage our module using Composer, which means it will be placed in /vendor.
Will this be OK, as our module extends an existing module which is also installed using Composer into /vendor?
@matt_ryding
Yes, it is okay to install the module using composer on the vendor. Since all override files are already mentioned in di.xml, no conflict occurred on both the original and override module..
If my answer is useful please accept as a solution and give Kudo
Thank you.
I present you a website that offers free apps and games 2021 now, go to: android mods, to go to that site you can download apps you like.
I think yes. i have successfully encrypted https://fmwas.com
I Have Also Install Successfully on Getintopc.app