How can I make an external PHP library available with my plugin.
Where the library files need to be placed?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
There is no central library folder for WordPress like you have for drupal. So you just include the library files within your plugin's folder and use the function plugin_dir_path to figure out the include path.
Another alternative is to distribute the library files as a separate plugin and then use TGM plugin activation to "require" that plugin: