How to create composer file in Magento 2

The composer.json file allows specifying the name, requirements, version, and some of other basic information about the component you are concerning. However, you need to save this file in the root directory of the module.

The composer.json uses Composer’s generic schema, with some requirements:


Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top