Open slaFFik opened 7 years ago
I already have a composer.json with type=wordpress-plugin
Do i have to add something else?
I've just added cmb2-grid to packagist. Could you try it please? Thanks
Assuming I have a composer.json
file in own plugin dir.
Currently it's not possible to install your lib in own plugin using composer - instead of wp-content/plugins/own-plugin/vendor/origgami/CMB2-grid
it will create wp-content/plugins/own-plugin/wp-content/plugins/CMB2-grid
. At least it was so some time ago, when I checked.
I thought that using composer, cmb2-grid would be installed on plugins-folder/cmb2-grid. Wouldn't it be enough?
I think that using a custom install like you want, you'd have to setup a custom folder for cmb2-grid using a package or something
https://github.com/WebDevStudios/CMB2/blob/trunk/composer.json
This way I will be able to install as a dependency in my own plugin via composer. Currently your
composer.json
creates separatewp-content
directory inside my plugin.Also, please add your library to packagist.