User Tools

Site Tools


php:composer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
php:composer [2016/07/14 20:21] – [Composer] mithatphp:composer [2016/07/14 20:21] – [Init] mithat
Line 6: Line 6:
 ===== Init ===== ===== Init =====
  
-The starting point is a file called ''composer.json'' that exists in the root of your project. You can manually create ''composer.json'' or you can issue <code bash>$ compser init</code> to have composer scaffold out a ''composer.json'' file for you. Once the composer.json has been scaffolded out, you'll have to manually edit it to change it.((TODO: Is this true? Is there a composer command than will download a package and automatically add it to ''composer.json''?))+The starting point is a file called ''composer.json'' that exists in the root of your project. You can manually create ''composer.json'' or you can issue<code bash>$ compser init</code> to have composer scaffold out a ''composer.json'' file for you. 
 + 
 +Once the ''composer.json'' file has been scaffolded out, you'll have to manually edit it to change it.((TODO: Is this true? Is there a composer command than will download a package and automatically add it to ''composer.json''?))
  
 ===== Specify your dependencies ===== ===== Specify your dependencies =====
php/composer.txt · Last modified: 2016/07/14 20:22 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki