codezero/composer-preload-files
codezero/composer-preload-files is a Composer plugin that generates and manages PHP preload file lists, helping Laravel and PHP applications warm OPcache at startup for faster boot and response times.
Consider it only when all of the following are true:
autoload.files, an explicit bootstrap file, a Composer script, or a small refactor.Look elsewhere or avoid it when:
For executives: This is a small, MIT-licensed Composer plugin that can resolve a narrow class of autoload-order problems during legacy integration or migration work. It is not a strategic platform bet. The business case is reduced refactor time for a specific blocker, but the risk is low community adoption and limited maintenance signal. Recommend a timeboxed spike with a clear fallback rather than broad adoption.
For engineering: Evaluate it as a targeted Composer plugin for preloading files before vendor autoloads. Confirm the exact autoload-order failure, test against supported PHP/Composer versions, review the plugin code, and define a replacement path—likely a bootstrap script or refactor—before shipping. Pin the version and avoid spreading it across the codebase unless it proves necessary.
How can I help you explore Laravel packages today?