laminas/laminas-loader
Abandoned Laminas component that provided autoloading and plugin loading utilities for PHP applications. No further development is planned; check Laminas TSC minutes for details and consider migrating to supported alternatives.
Adopt if:
Look elsewhere if:
composer/class-loader is sufficient).For Executives:
"This package lets us upgrade to PHP 8.4—critical for security and performance—without rewriting our autoloading system. It’s a low-risk, high-reward move: we avoid technical debt from custom solutions while maintaining compatibility with our existing Laravel stack. Since it’s part of the Laminas ecosystem (backed by the PHP Foundation), we’re not relying on a one-person project. The cost? Minimal—just a composer require and minor config changes. The payoff? Future-proofing our PHP version support with zero disruption."
For Engineering: *"The laminas/laminas-loader package (v2.12.0) gives us two key advantages:
How to use it:
composer.json:
"require": {
"laminas/laminas-loader": "^2.12"
}
bootstrap/app.php (if replacing default autoloader):
$loader = new \Laminas\Loader\AutoloaderFactory();
$loader->registerAutoloaders();
Caveats:
Alternatives:
ClassLoader if you need more active maintenance.Recommendation: Pilot in a non-critical module first to validate performance and compatibility."*
How can I help you explore Laravel packages today?