I\'d like to know whats the difference when creating new symfony project with new symfony installer that has appeared last time and old-way composer.
I\'ve installed lat
As Leggendario already explained, the installer downloads the dist files from the website (a .tar.gz
or .zip
file). This speeds up the installation process quite a bit.
However, when building the dist files, symfony.com uses a custom build script which removes some files and changes some things. On the other hand, composer simply downloads the repository for you.
The main differences:
git clone
to download the packages. The build script uses only stable packages, which will make Composer use the dist version. Some packages remove test and doc files from their dist files..gitignore
. The build script previously assumed the person installing it didn't have git, so removed this file and other git related files like the .gitkeep
files in app/cache
and app/logs
.I any case, both the installer and composer always give you a working version of the Symfony Standard Edition.
At last, the build script was changed now the installer became the official way of installing. It'll now contain the git related files. On the other hand, it'll not contain the LICENSE
file, UPGRADE-*.md
files and README.md
file. So in the end, we can say that the one installed by the installer is more usable, as it removes useless files.