Using Composer for dependencies

The project uses a couple of open source libraries such as PHPMailer. To avoid having to include them in the repository, we have just switched to Composer to install them.

For regular releases this will not make a difference, all dependencies will be included in the zip and tar files so no extra action is required. If you are downloading the source from GitHub, however, you will need to install these dependencies yourself. To do that, you can run the following command from the command line after downloading the source:

php composer.phar install

Regards,
Pep

One thought on “Using Composer for dependencies

  1. graphic design reume

    Helpful advice! Thanks for sharing. I’ve started to learn php recently. But I also create resume for all people in IT area. Describing job hunters perfectly is my main task. If you even don’t have experience I’m sure you have the strong sides.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *