Composer: Difference between revisions

Jump to navigation Jump to search
172 bytes added ,  26 February 2015
m
add tags for paths
add a description of composer
m add tags for paths
Line 15: Line 15:
</syntaxhighlight>
</syntaxhighlight>


Make sure you have PHP (CLI version) installed. If you're the only developer on the machine, you may want to create a folder called ~/bin and put the generated composer file there. I usually rename mine to simply composer and then make it user executable. This way I can just invoke <code>$ composer update</code> from anywhere.
Make sure you have PHP (CLI version) installed. If you're the only developer on the machine, you may want to create a folder called <span class="shell">~/bin</span> and put the generated composer file there. I usually rename mine to simply composer and then make it only user executable. By default it becomes other-executable. This way I can just invoke <code>$ composer update</code> from anywhere. Feel free to make it available to others by moving it to <span class="shell">/usr/local/bin</span>.


* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than a minute''
* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than a minute''


[[Category:Web development]]
[[Category:Web development]]

Navigation menu