Composer is a revolution in the PHP world. You can use it to manage your dependencies. Need a specific library? Run composer require vendor/packagename and you can use it. Working on a project? Run composer install and you have all the dependencies you need. There is just one downside: when a project has a lot of dependencies, it can be quite slow to download them all.
Luckily, there is Prestissimo. It checks all dependencies and downloads them using multiple threads. Installation is as simple as running composer global require hirak/prestissimo. You can check the project on GitHub here.
I only found one downside: some vendors (specifically Mirasvit) do something unknown to me that throws an error about a failing checksum. The solution is pretty simple:
- Remove Prestissimo: composer global remove hirak/prestissimo.
- Delete the vendor directory of the project: rm -rfv vendor.
- Clear the Composer cache: composer clear-cache.
Now you should be good to go—only a bit slower this time.