This assumes you are using composer. This project is supposed to work also with PEAR.