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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -