# Use Composer
WARNING
This feature requires Blessing Skin v3.5.0 or later
Sometimes your plugin may require some PHP libraries. The common practice is to use Composer to install these dependencies.
Composer will download and decompress the dependencies in the
vendordirectory of the project directory, and Blessing Skin will
automatically scan and load the vendordirectory, so you can easily
enjoy the convenience brought by package management without any
configuration.
# usage
In your plugin directory, execute composerto install dependencies,
for example:
composer require vendor/package
Although Composer will generate composer.jsonand
composer.lockfiles, these files will not be used by Blessing Skin and
will not affect the work of Blessing Skin.
Then use the library you just installed as normal in your plugin code.
It should be noted that when you want to package your plugin for
publishing or sharing, you must package the vendordirectory,
otherwise your plugin will not work properly.