Shared on Mage Dispatch · 30 Sep 2025

Composer Preload Plugin

This is a Composer plugin that preloads PHP code to improve performance by utilizing the opcache feature. It generates a vendor/preload.php file that includes calls to warm up the opcache, scanning specified directories for PHP files to include. Installation and configuration instructions are detailed for effective use.

3
5
Visit link → https://github.com/diego-ninja/composer-preload

More like this

New here? This is Mage Dispatch

Mage Dispatch is a community-run archive and bi-weekly newsletter for the Magento, Adobe Commerce and Mage-OS ecosystem. Modules, articles, security advisories and tools, hand-picked by developers and shared so good work does not disappear into the void.

Browse the latest links → Explore by topic → Submit a link → About us →