This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Webp
Webp

As an author I want to submit a plugin to the OC Market. My plugin has composer requirements defined in composer.json.

On dev machine everything works well, the dependencies are included with composer update executed in the root of the project. So all dependencies are in the main root vendor map.

I already have submitted my plugin to the OC Market, from within the account/plugin/create page. The plugin was uploaded as ZIP file without(!) vendor map. The dependencies were only defined in a composer.json file, but not actually included in the ZIP file.

When I now install my plugin in a fresh OC install, a 'vendor' map is included in the plugin folder. Like this: 'plugins/author/foo/vendor'. The plugin is installed from within the CMS (url: backend/system/updates/install), and also as a second test on cli with $ artisan plugin:install author.foo. Both times the installation went correct.

  1. How is this vendor map got in the folder where the plugin reside?
  2. Is it good practice to add or not add a vendor map in the ZIP file on submitting to OC Market?
Webp

1-2 of 2

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.