PHP in production with composer

2

I have an application that uses some dependencies and these are managed by the composer everything working in the development environment.

But in production, how can you install a php application with dependencies?

What do I need to make everything work in production?

    
asked by anonymous 28.08.2017 / 22:31

1 answer

2

You can use:

composer.phar install --no-dev 

or

composer.phar install --no-dev --optimize-autoloader

(It generates a class map that will speed up automatic loading in your application.)

I hope I have helped.

    
28.08.2017 / 22:38