Composer: Difference between revisions

No change in size ,  2 March 2015
no edit summary
→‎Notes: rephrase
No edit summary
Line 19: Line 19:


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>.
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>.
== References ==
<div class="references-small"><references /></div>


== Notes ==
== Notes ==


Be sure to run <code>$ composer self-update</code> often because numerous updates are occurring on a daily basis.
Be sure to run <code>$ composer self-update</code> often because numerous updates are occurring on a daily basis.
== References ==
<div class="references-small"><references /></div>


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