PHP/Composer: Difference between revisions

From Fundamental Ramen
< PHP
Jump to navigation Jump to search
(Created page with "<syntaxhighlight lang="bash"> </syntaxhighlight>")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Install Composer=
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
# for Docker container
RUN apt-get install -y --no-install-recommends unzip
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
</syntaxhighlight>
</syntaxhighlight>
<ref>https://getcomposer.org/download/</ref>
<ref>https://www.baeldung.com/ops/docker-container-install-php-composer</ref>
= Add a package =
<syntaxhighlight lang="bash">
# TODO
</syntaxhighlight>
= References =
<references/>

Latest revision as of 04:05, 11 April 2025

Install Composer

# for Docker container
RUN apt-get install -y --no-install-recommends unzip 
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

[1] [2]

Add a package

# TODO

References