Jump to content

composer install Third party library on own module


Recommended Posts

hi,if i want create new module like mymodule

and i want install third party library on modules/mymodule/libraries/

but the third party library use composer install it like:

composer require alibabacloud/alimt

which is the best way to install it?just run the command?or other best way?thanks

Link to comment
Share on other sites

Hello:

Configure your module composer.json file and specify your third party library requirements. Then just run "composer install" command. It will download automatically your required libraries yo vendor folder. Anyway, you can go to github repo of this library and download it manually, but try to learn more about composer that could made your life easier.

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...