PHP/Composer: Difference between revisions
< PHP
Jump to navigation
Jump to search
No edit summary |
|||
| (6 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
Add a package
# TODO