Getting Errors on Installing Stomp-php in Mautic 3.2.5

Your software
My Mautic version is: 3.2.5
My PHP version is: 7.3.32
My Database type and version are: MySQLi

Your problem
On installing stomp-php in vendors via yum command giving out of memory error.
Screenshot attached below:

Steps I have tried to fix the problem:
Tried again by increasing the memory required in error but still getting the same error.

Alternate Options:
Manually downloaded the stomp-php files in vendor and then run the composer command.

  • In this case, the composer command automatically replaces the existing vendor folder having plugins with the new one having only stomp-php files, and Mautic starts giving a Fatal Error.

Installing Stomp-php to use it for AMQ Transport to enqueue campaign messages.