Composer 2 · Autoloading and production
Run a script
Run a script defined in the scripts section of composer.json.
composer run-script test
Official Composer 2 documentation
More autoloading and production commands
- Regenerate the autoloader
- Optimize the autoloader
- Install for production
- Allow a plugin
- Clear Composer's cache
- Install a tool globally
All autoloading and production commands · Composer 2 cheatsheet