PHP in production with Composer

Asked

Viewed 245 times

2

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

But in production, how is it possible to install an application php dependency ?

What it takes for everything to work in production ?

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’ve helped.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.