Title: Performance issue with composer
Last modified: May 17, 2026

---

# Performance issue with composer

 *  Resolved [Antony Booker](https://wordpress.org/support/users/antonynz/)
 * (@antonynz)
 * [3 weeks, 1 day ago](https://wordpress.org/support/topic/performance-issue-with-composer/)
 * Thanks for this plugin.
 * I have reached out previously regarding a [performance issue with composer](https://wordpress.org/support/topic/performance-improvement-with-autoloader/)
   which appears to be worse.
 * The plugin is using PSR4 filesystem-based discovery which means it’s including
   each file in the autoload using file_exists checks which can have an impact on
   performance. 
   On a page load it’s performing 990 file exist checks within the
   findFileWithExtension function in wpforms-lite/vendor/composer/ClassLoader.php
   file instead of directly loading the files. 688 of these files don’t exist and
   are being called needlessly.To address this can you please set composer to use
   authoritative autoloading (–classmap-authoritative) as per [https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-2-a-authoritative-class-maps](https://getcomposer.org/doc/articles/autoloader-optimization.md#optimization-level-2-a-authoritative-class-maps)

Viewing 1 replies (of 1 total)

 *  Plugin Support [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * (@amjadali688)
 * [2 weeks, 5 days ago](https://wordpress.org/support/topic/performance-issue-with-composer/#post-18912828)
 * Hi [@antonynz](https://wordpress.org/support/users/antonynz/) ,
 * Thanks for following up and for sharing these additional details.
 * Our development team is still looking into this request. At the moment, we don’t
   have an estimated timeframe for when this change may be implemented.
 * I’ll be sure to share an update as soon as I have any news.
 * Thanks again for your detailed report and for your patience!

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fperformance-issue-with-composer%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/wpforms-lite/assets/icon.svg?rev=3254748)
 * [WPForms - Easy Form Builder for WordPress - Contact Forms, Payment Forms, Surveys, & More](https://wordpress.org/plugins/wpforms-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpforms-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpforms-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/wpforms-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpforms-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpforms-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amjad Ali](https://wordpress.org/support/users/amjadali688/)
 * Last activity: [2 weeks, 5 days ago](https://wordpress.org/support/topic/performance-issue-with-composer/#post-18912828)
 * Status: resolved