e5xlqa
Last Updated: February 25, 2016
·
9.483K
· bendihossan
A06c38dd3377bbc0db360c44a2969fed

Composer - generate namespaces without installing/updating

You can easily ask composer to regenerate vendor namespaces without having to install or update the vendors.

php composer.phar dump-autoload

Check the results by looking in vendor/composer/autoload_namespaces.php. This is especially useful if you're developing a library or bundle that another project uses with composer to install it's dependencies.

Source: https://github.com/composer/composer/issues/627

Say Thanks
Respond

1 Response
Add your response

1015
44c6fcfb46945625463e1847e1dca048

Another benefit of that command is to generate a static class map which dramatically improves autoloading performance. It's something any composer based application could benefit from in a production environment.

over 1 year ago ·