Title: Using Jetpack Autoloader
Last modified: April 5, 2023

---

# Using Jetpack Autoloader

 *  [Jeremy Herve](https://wordpress.org/support/users/jeherve/)
 * (@jeherve)
 * Jetpack Mechanic 🚀
 * [3 years, 2 months ago](https://wordpress.org/support/topic/using-jetpack-autoloader/)
 * Hi there!
 * I worked on the Jetpack team, and recently noticed that you’re using 2 Jetpack
   Composer packages in your plugin:
    - Jetpack Assets
    - Jetpack Constants
 * First of all, I’m happy to see that, I hope you’re finding those 2 packages useful!
   🙂
 * I am reaching out to make a suggestion, so your plugin can be fully compatible
   with other plugins that rely on those 2 packages.
 * When using packages that are also used by other plugins on the same site, it 
   is recommended to use the [Jetpack Autoloader Composer package](https://packagist.org/packages/automattic/jetpack-autoloader)
   as well; it would ensure that when your plugin is installed alongside another
   plugin that also loads Jetpack Assets or Jetpack Constants, there are no conflicts
   between the 2 versions.
 * If you’d like to implement that on your site, you’d have to do 2 things:
    1. Require `automattic/jetpack-autoloader` in your plugin’s `composer.json`.
    2. Load the Autoloader in your plugin’s main file: `require_once **DIR** . '/vendor/
       autoload_packages.php';`
 * Things should then work just like before, but your plugin’s users should never
   run into conflicts with other sites that use those packages.
 * If you’d like to implement that in your plugin and need some more help, do not
   hesitate to reach out by creating a GitHub issue [here](https://github.com/Automattic/jetpack/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc),
   or [contact us via email](https://jetpack.com/contact-support/?rel=support&hpi=1)
   and mention this forum thread; I’ll be happy to help you with this!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fusing-jetpack-autoloader%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * (@quadlayers)
 * [3 years ago](https://wordpress.org/support/topic/using-jetpack-autoloader/#post-16723974)
 * Hello [@jeherve](https://wordpress.org/support/users/jeherve/)
 * Thanks for the amazing work you’ve done with the jetpack packages
 * Ill check this with the dev team and include your recommendations
 * Best regards!

Viewing 1 replies (of 1 total)

The topic ‘Using Jetpack Autoloader’ is closed to new replies.

 * ![](https://ps.w.org/autocomplete-woocommerce-orders/assets/icon-256x256.png?
   rev=2911680)
 * [Autocomplete WooCommerce Orders](https://wordpress.org/plugins/autocomplete-woocommerce-orders/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autocomplete-woocommerce-orders/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autocomplete-woocommerce-orders/)
 * [Active Topics](https://wordpress.org/support/plugin/autocomplete-woocommerce-orders/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autocomplete-woocommerce-orders/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autocomplete-woocommerce-orders/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [quadlayers](https://wordpress.org/support/users/quadlayers/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/using-jetpack-autoloader/#post-16723974)
 * Status: not a support question