Other Common Directories
External or 3rd Party Library Files or Modules
If your plugin relies on 3rd party Perl modules or libraries then it is recommended that they be packaged in the following directory:
Tip: When should I package 3rd party libraries with my plugin?
To make installation of your plugin easier upon your users, you may want to package any prerequisites directly within your plugin. However before you do that, make sure of the following:
The module’s license allows you do to so. If the 3rd party module uses the “Artistic” license (the same licenses as Perl itself) then you can safely include it. The same is true for modules that use the BSD and LGPL license provided that you do not modify the source code of the module.
The module does not require compilation. If the third party library contains
.cfiles then your users must install the module independently.
PHP and Dynamic Publishing Files
PLugins that define template tags should also provide PHP versions of those tags so that they are compatible with blogs and templates configured for dynamic publishing. These files should be placed within the following directory within your plugin: