I am a developer myself and I built extension for Magento 2. So far it is only zip package file. User just unzip the file, uploads it to ftp and then runs php bin/magento setup:upgrade
. Now I need to create also Composer option for installation so our customers can install the extension without uploading zip files but using composer.
One of the problem is that we have some files outside app
folder (inside pub
and lib
). More than 100 files. I think that composer doesn't have option to include files outside app
folder because composer will install it in vendor
folder.
Is it possible to include into composer also files from lib
and pub
folder?