(Links) How to fix an extremely slow Symfony inside a Vagrant box
When you work with Vagrant (if not – try it!) on a Windows or Mac machine (which is an excellent way to professionaly develop linux-hosted web application while still being in Windows or Mac OS) than you might have already experienced this annoying thing:
The real-time sync between your local files and the Vagrant box is painfully slow, Composer is extremely slow and in general the application runs FUCKING SLOW. That kind of “something is really broken”-slow. Erika Heidi and Benjamin Eberlei have looked deep into the topic, and found some excellent solutions. It seems like the basic problem is that Linux and Windows/Mac are using different file systems (ext3/4 vs NFS) that cause massive problems on large-file projects. The linked articles also provide links to a Symfony-optimized Vagrant (sand)box and some interesting user-comments that might fix your problem.
Erika Heidi – Optimizing Symfony applications on Vagrant boxes
Benjamin Eberlei – Speedup Symfony2 on Vagrant boxes
How can you install Symfony 4 inside a vagrant box? Is the method same like installing composer and then using the composer command to install it? Is that is the case, then it will be really easy to use Symfony 4 inside vagrant.