maciey_b
maciey_b

Reputation: 167

SugarCRM7.9 - instaling composer packages via module manifest?

I've built custom module for SugarCRM7, but I need to use custom libs (guzzlehttp and psr/http-message) which are not present in SugarCRM. Is there any way to add my own composer.json to installable package so the composer file would be executed after module install or maybe should I do it using manifest somehow?

I've tried to simply copy vendor files using copy in manifest.php but it doesn't seem to work and I need to execute it without comand line access.

I didn't find any word about composer in Sugar dev docs, so I'm asking here. Any help would be appreciated. thanks!

Upvotes: 1

Views: 154

Answers (1)

pauel
pauel

Reputation: 906

The way to go is packaging all files in the installable package. But there is a problem with too many files due to the http post size. So if some of your files are missing try zipping the lib and unzip via a post_install script.

Upvotes: 4

Related Questions