Composer 2 · Autoloading and production
Install a tool globally
Install a package into your global Composer folder, for command-line tools.
composer global require laravel/installer
Official Composer 2 documentation
More autoloading and production commands
- Regenerate the autoloader
- Optimize the autoloader
- Install for production
- Run a script
- Allow a plugin
- Clear Composer's cache
All autoloading and production commands · Composer 2 cheatsheet