What does the different flags of Composer when creating a Laravel project? -
Anyone can tell me the difference between this command
LARWAL / LARAWELL Your project-name - PREFER-DIST COMPOSOR CONSTRUCTION- PROJECT LARWAL / LARWELL Make your project-name composer-project larval / larval your project-name-wise
From:
- Preferred: behind - prefer-source, composer If no And if it is installed from dist, it can be set up to a large extent in the build server and other usage cases where you do not usually run vendor updates. If you do not have the proper setup, then it should deal with problems with git There is also a way. This means that the composer will depend on the distribution build instead of the sources.
and - dev for flag: - dev: Install the packages listed in Required Dev . This means that the composer will also install all Package Dependency Lists from your Composer.Jason to the Essentials key. Requirement-Dev The key is only the dependency required for development.
For more information, please read the docs about composer CLI:
Comments
Post a Comment