Composer 2 · Autoloading and production
Clear Composer's cache
Delete the packages Composer has downloaded and cached.
composer clear-cache
Official Composer 2 documentation
More autoloading and production commands
- Regenerate the autoloader
- Optimize the autoloader
- Install for production
- Run a script
- Allow a plugin
- Install a tool globally
All autoloading and production commands · Composer 2 cheatsheet