{"id":256,"date":"2022-07-22T11:05:47","date_gmt":"2022-09-30T02:52:29","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"},"modified":"2025-07-31T22:03:51","modified_gmt":"2025-07-31T13:03:51","slug":"debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","title":{"rendered":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"},"content":{"rendered":"<h3>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8a00\u3044\u65b9\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u69cb\u3044\u307e\u305b\u3093\u3002<br \/>\n\u300cIntroduction\u300d<\/h3>\n<p>Composer\u306f\u3001\u4e3b\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u66f4\u65b0\u3092\u5bb9\u6613\u306b\u3059\u308b\u305f\u3081\u306b\u4f5c\u6210\u3055\u308c\u305fPHP\u306e\u4eba\u6c17\u306e\u3042\u308b\u4f9d\u5b58\u95a2\u4fc2\u7ba1\u7406\u30c4\u30fc\u30eb\u3067\u3059\u3002Composer\u306f\u3001\u7279\u5b9a\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f9d\u5b58\u3057\u3066\u3044\u308b\u4ed6\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8981\u4ef6\u306b\u57fa\u3065\u3044\u3066\u9069\u5207\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u305d\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u307e\u305f\u3001Composer\u306f\u3001Symfony\u3084Laravel\u306a\u3069\u306e\u4eba\u6c17\u306e\u3042\u308bPHP\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3092\u30d9\u30fc\u30b9\u306b\u3057\u305f\u65b0\u3057\u3044\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d6\u30fc\u30c8\u30b9\u30c8\u30e9\u30c3\u30d7\u306b\u3082\u3088\u304f\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30ac\u30a4\u30c9\u3067\u306f\u3001Debian 11 \u30b5\u30fc\u30d0\u30fc\u4e0a\u306b Composer \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<h2>\u524d\u63d0\u6761\u4ef6<br \/>\n(Zentei joken)<\/h2>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001Debian 11 \u30b5\u30fc\u30d0\u30fc\u304c1\u3064\u5fc5\u8981\u3067\u3059\u3002\u307e\u305f\u3001\u975e\u30eb\u30fc\u30c8\u306esudo\u6a29\u9650\u3092\u6301\u3063\u305f\u30e6\u30fc\u30b6\u30fc\u3068\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3082\u6709\u52b9\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002Debian 11 \u30a4\u30cb\u30b7\u30e3\u30eb\u30b5\u30fc\u30d0\u30fc\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u30ac\u30a4\u30c9\u306b\u5f93\u3063\u3066\u3053\u308c\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d71 &#8211; \u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Debian 11\u30b7\u30b9\u30c6\u30e0\u5185\u306b\u3059\u3067\u306b\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u306e\u3042\u308b\u4f9d\u5b58\u95a2\u4fc2\u306b\u52a0\u3048\u3066\u3001Composer\u306f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067PHP\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u306bphp-cli\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u5727\u7e2e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u5c55\u958b\u3059\u308b\u305f\u3081\u306bunzip\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u304b\u3089\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<br \/>\n(Pakkeji man\u0113j\u0101 kyasshu o k\u014dshin suru koto kara hajimemashou.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002Composer\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306bcurl\u304c\u5fc5\u8981\u3067\u3042\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304a\u3088\u3073\u5b9f\u884c\u3059\u308b\u305f\u3081\u306bphp-cli\u304c\u5fc5\u8981\u3067\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u4f7f\u7528\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u6a5f\u80fd\u3092\u63d0\u4f9b\u3059\u308b\u305f\u3081\u306b\u3001php-mbstring\u30d1\u30c3\u30b1\u30fc\u30b8\u3082\u5fc5\u8981\u3067\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306bComposer\u306fgit\u3092\u4f7f\u7528\u3057\u3001zipped\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5c55\u958b\u3059\u308b\u305f\u3081\u306bunzip\u304c\u5fc5\u8981\u3067\u3059\u3002\u3059\u3079\u3066\u306e\u30b3\u30de\u30f3\u30c9\u306f\u6b21\u306e\u3088\u3046\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt<\/span> <span class=\"token function\">install<\/span> <span class=\"token function\">curl<\/span> php-cli php-mbstring <span class=\"token function\">git<\/span> <span class=\"token function\">unzip<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3059\u3079\u3066\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u3089\u3001Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d72 &#8211; Composer\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<p>Composer\u306fPHP\u3067\u66f8\u304b\u308c\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u308c\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u7834\u640d\u3057\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u5f8c\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3001\u81ea\u5206\u304c\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> ~<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u308c\u3067\u306f\u3001curl\u3092\u4f7f\u7528\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u53d6\u5f97\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-sS<\/span> https:\/\/getcomposer.org\/installer <span class=\"token parameter variable\">-o<\/span> composer-setup.php<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001Composer\u30d1\u30d6\u30ea\u30c3\u30af\u30ad\u30fc\/\u7f72\u540d\u30da\u30fc\u30b8\u3067\u898b\u3064\u304b\u3063\u305f\u6700\u65b0\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u306eSHA-384\u30cf\u30c3\u30b7\u30e5\u3068\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u304c\u4e00\u81f4\u3057\u3066\u3044\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u78ba\u8a8d\u624b\u9806\u3092\u5bb9\u6613\u306b\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u6700\u65b0\u306e\u30cf\u30c3\u30b7\u30e5\u3092Composer\u30da\u30fc\u30b8\u304b\u3089\u53d6\u5f97\u3057\u3001\u30b7\u30a7\u30eb\u5909\u6570\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token assign-left variable\">HASH<\/span><span class=\"token operator\">=<\/span><span class=\"token variable\"><span class=\"token variable\">`<\/span><span class=\"token function\">curl<\/span> <span class=\"token parameter variable\">-sS<\/span> https:\/\/composer.github.io\/installer.sig<span class=\"token variable\">`<\/span><\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u5f97\u3089\u308c\u305f\u5024\u3092\u51fa\u529b\u3059\u308b\u306b\u306f\u3001\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">echo<\/span> <span class=\"token variable\">$HASH<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p><mark>55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae<\/mark><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u6b21\u306b\u3001Composer\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u308bPHP\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b89\u5168\u306b\u5b9f\u884c\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">php <span class=\"token parameter variable\">-r<\/span> <span class=\"token string\">&#8220;if (hash_file(&#8216;SHA384&#8217;, &#8216;composer-setup.php&#8217;) === &#8216;<span class=\"token variable\">$HASH<\/span>&#8216;) { echo &#8216;Installer verified&#8217;; } else { echo &#8216;Installer corrupt&#8217;; unlink(&#8216;composer-setup.php&#8217;); } echo PHP_EOL;&#8221;<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u51fa\u529b\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Installer verified<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3082\u3057\u300c\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u304c\u7834\u640d\u3057\u3066\u3044\u307e\u3059\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u305f\u5834\u5408\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u518d\u5ea6\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u6b63\u3057\u3044\u30cf\u30c3\u30b7\u30e5\u3092\u5229\u7528\u3057\u3066\u691c\u8a3c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u5f8c\u3001\u518d\u3073\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u3092\u691c\u8a3c\u3059\u308b\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u691c\u8a3c\u304c\u5b8c\u4e86\u3057\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u30fc\u304c\u3042\u308c\u3070\u3001\u4f5c\u696d\u3092\u7d99\u7d9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Composer\u3092\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3067\u5229\u7528\u3059\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066Composer\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\/usr\/local\/bin\u306e\u4e0b\u306bcomposer\u3068\u3044\u3046\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306e\u30b3\u30de\u30f3\u30c9\u3068\u3057\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">sudo<\/span> php composer-setup.php &#8211;install-dir<span class=\"token operator\">=<\/span>\/usr\/local\/bin <span class=\"token parameter variable\">&#8211;filename<\/span><span class=\"token operator\">=<\/span>composer<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3042\u306a\u305f\u306e\u51fa\u529b\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>All settings correct for using Composer Downloading&#8230; Composer (version 2.3.10) successfully installed to: \/usr\/local\/bin\/composer Use it: php \/usr\/local\/bin\/composer<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u6b63\u5e38\u306b\u884c\u308f\u308c\u305f\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">composer<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u51fa\u529b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001Composer\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u5f15\u6570\u3092\u8868\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>______ \/ ____\/___ ____ ___ ____ ____ ________ _____ \/ \/ \/ __ \\\/ __ `__ \\\/ __ \\\/ __ \\\/ ___\/ _ \\\/ ___\/ \/ \/___\/ \/_\/ \/ \/ \/ \/ \/ \/ \/_\/ \/ \/_\/ (__ ) __\/ \/ \\____\/\\____\/_\/ \/_\/ \/_\/ .___\/\\____\/____\/\\___\/_\/ \/_\/ Composer version 2.3.10 2022-07-13 15:48:23 Usage: command [options] [arguments] Options: -h, &#8211;help Display help for the given command. When no command is given display help for the list command -q, &#8211;quiet Do not output any message -V, &#8211;version Display this application version &#8211;ansi|&#8211;no-ansi Force (or disable &#8211;no-ansi) ANSI output -n, &#8211;no-interaction Do not ask any interactive question &#8211;profile Display timing and memory usage information &#8211;no-plugins Whether to disable plugins. &#8211;no-scripts Skips the execution of all scripts defined in composer.json file. -d, &#8211;working-dir=WORKING-DIR If specified, use the given directory as working directory. &#8211;no-cache Prevent use of the cache -v|vv|vvv, &#8211;verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug . . .<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b7\u30b9\u30c6\u30e0\u4e0a\u3067Composer\u304c\u6b63\u5e38\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u3067\u5229\u7528\u53ef\u80fd\u3067\u3042\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3055\u308c\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>\u6ce8\u610f\uff1a\u3053\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u30db\u30b9\u30c8\u3059\u308b\u5404\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3054\u3068\u306b\u500b\u5225\u306eComposer\u5b9f\u884c\u30d5\u30a1\u30a4\u30eb\u3092\u6301\u3061\u305f\u3044\u5834\u5408\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002NPM\u306e\u30e6\u30fc\u30b6\u30fc\u306f\u3053\u306e\u30a2\u30d7\u30ed\u30fc\u30c1\u306b\u6163\u308c\u3066\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u307e\u305f\u3001\u30b7\u30b9\u30c6\u30e0\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3067\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3092\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u306a\u3044\u5834\u5408\u306b\u3082\u3001\u3053\u306e\u65b9\u6cd5\u306f\u4fbf\u5229\u3067\u3059\u3002<br \/>\n\u3053\u308c\u3092\u884c\u3046\u306b\u306f\u3001\u30b3\u30de\u30f3\u30c9\u300cphp composer-setup.php\u300d\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u73fe\u5728\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bcomposer.phar\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u300c.\/composer.phar\u300d\u3068\u3044\u3046\u30b3\u30de\u30f3\u30c9\u3067\u5b9f\u884c\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/div>\n<\/div>\n<p>Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u306e\u3067\u3001\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306fComposer\u3092\u4f7f\u7528\u3057\u3066PHP\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d73\uff0d PHP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067Composer\u3092\u4f7f\u7528\u3059\u308b\u3002<\/h2>\n<p>PHP\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306f\u3057\u3070\u3057\u3070\u5916\u90e8\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u4f9d\u5b58\u3057\u3066\u304a\u308a\u3001\u3053\u308c\u3089\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u305d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7ba1\u7406\u3059\u308b\u3053\u3068\u306f\u96e3\u3057\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002Composer\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u8de1\u3057\u3001\u4ed6\u306e\u4eba\u304c\u305d\u308c\u3089\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3084\u3059\u304f\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u306e\u554f\u984c\u3092\u89e3\u6c7a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3042\u306a\u305f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067Composer\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001composer.json\u30d5\u30a1\u30a4\u30eb\u304c\u5fc5\u8981\u3067\u3059\u3002composer.json\u30d5\u30a1\u30a4\u30eb\u306f\u3001Composer\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u305f\u3081\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u306e\u3042\u308b\u4f9d\u5b58\u95a2\u4fc2\u3068\u5404\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8a31\u53ef\u3055\u308c\u308b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4e00\u8cab\u3055\u305b\u3001\u5f8c\u65b9\u4e92\u63db\u6027\u306e\u554f\u984c\u3092\u5f15\u304d\u8d77\u3053\u3059\u53ef\u80fd\u6027\u306e\u3042\u308b\u4e0d\u5b89\u5b9a\u306a\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u975e\u5e38\u306b\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u624b\u52d5\u3067\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u624b\u52d5\u3067\u4f5c\u6210\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3001\u69cb\u6587\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u305f\u3081\u3067\u3059\u3002Composer\u306f\u3001composer require\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306bcomposer.json\u30d5\u30a1\u30a4\u30eb\u3092\u751f\u6210\u3057\u307e\u3059\u3002\u540c\u3058\u65b9\u6cd5\u3067\u8ffd\u52a0\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u624b\u52d5\u3067\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Composer\u3092\u4f7f\u7528\u3057\u3066\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30d7\u30ed\u30bb\u30b9\u306f\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u542b\u307f\u307e\u3059\u3002<\/p>\n<ul class=\"post-ul\">\n<li>Identify what kind of library the application needs.<\/li>\n<li>Research a suitable open-source library on Packagist.org, the official package repository for Composer.<\/li>\n<li>Choose the package you want to depend on.<\/li>\n<li>Run composer require to include the dependency in the composer.json file and install the package.<\/li>\n<\/ul>\n<p>\u30c7\u30e2\u30a2\u30d7\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001\u3053\u308c\u3092\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u76ee\u7684\u306f\u3001\u4e0e\u3048\u3089\u308c\u305f\u6587\u7ae0\u3092URL\u306b\u9069\u3057\u305f\u6587\u5b57\u5217\u306b\u5909\u63db\u3059\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u6587\u5b57\u5217\u306f\u30b9\u30e9\u30c3\u30b0\u3068\u547c\u3070\u308c\u3001\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u3092URL\u306e\u30d1\u30b9\u306b\u5909\u63db\u3059\u308b\u305f\u3081\u306b\u4e00\u822c\u7684\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306eURL\u306e\u6700\u5f8c\u306e\u90e8\u5206\u3068\u3057\u3066\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002 (Mazu wa, hoomudeirekutori ni id\u014d shite kudasai.)<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> ~<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u305d\u306e\u5f8c\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u308c\u3092\u30b9\u30e9\u30b0\u5316\u3068\u547c\u3093\u3067\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">mkdir<\/span> slugify<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token builtin class-name\">cd<\/span> slugify<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3055\u3042\u3001Packagist.org\u3067\u30b9\u30e9\u30c3\u30b0\u3092\u751f\u6210\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u63a2\u3059\u6642\u671f\u3067\u3059\u3002Packagist\u3067\u300c\u30b9\u30e9\u30c3\u30b0\u300d\u3068\u3044\u3046\u7528\u8a9e\u3092\u691c\u7d22\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306b\u4f3c\u305f\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65647ad7daa94e2bdf7b8e00\/54-0.PNG\" alt=\"Packagist Search\" \/><\/div>\n<p>\u30ea\u30b9\u30c8\u5185\u306e\u5404\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u53f3\u5074\u306b\u306f2\u3064\u306e\u6570\u5b57\u304c\u3042\u308a\u307e\u3059\u3002\u4e0b\u5411\u304d\u306e\u77e2\u5370\u306e\u30a2\u30a4\u30b3\u30f3\u306e\u96a3\u306e\u6570\u5b57\u306f\u3001\u305d\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u56de\u6570\u3092\u793a\u3057\u3066\u304a\u308a\u3001\u661f\u306e\u30a2\u30a4\u30b3\u30f3\u306e\u6570\u5b57\u306fGitHub\u3067\u306e\u30b9\u30bf\u30fc\u6570\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u6570\u5b57\u306b\u57fa\u3065\u3044\u3066\u3001\u691c\u7d22\u7d50\u679c\u3092\u4e26\u3073\u66ff\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u4e00\u822c\u7684\u306b\u3001\u3088\u308a\u591a\u304f\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30b9\u30bf\u30fc\u3092\u6301\u3064\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001\u591a\u304f\u306e\u4eba\u3005\u304c\u4f7f\u7528\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u3088\u308a\u5b89\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u5fc5\u8981\u306a\u3082\u306e\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3059\u308b\u305f\u3081\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u8aac\u660e\u3082\u91cd\u8981\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001\u6587\u5b57\u5217\u3092\u30b9\u30e9\u30c3\u30b0\u306b\u5909\u63db\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u691c\u7d22\u7d50\u679c\u304b\u3089\u898b\u308b\u9650\u308a\u3001cocur\/slugify\u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u9069\u5207\u3067\u3042\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6570\u3068\u661f\u306e\u6570\u3082\u9069\u5ea6\u306b\u3042\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>Packagist\u306b\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306b\u306f\u3001\u30d9\u30f3\u30c0\u30fc\u540d\u3068\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u304c\u3042\u308a\u307e\u3059\u3002\u5404\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3001GitHub\u304c\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u4f7f\u7528\u3057\u3066\u3044\u308b\u5f62\u5f0f\u3068\u540c\u3058\u5f62\u5f0f\u306e\u30e6\u30cb\u30fc\u30af\u306a\u8b58\u5225\u5b50\uff08\u540d\u524d\u7a7a\u9593\uff09\u3092\u6301\u3063\u3066\u304a\u308a\u3001vendor\/package\u306e\u5f62\u5f0f\u3067\u8868\u3055\u308c\u307e\u3059\u3002\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001cocur\/slugify\u3068\u3044\u3046\u540d\u524d\u7a7a\u9593\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u8981\u6c42\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u3053\u306e\u540d\u524d\u7a7a\u9593\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u77e5\u3063\u305f\u3089\u3001\u4f9d\u5b58\u95a2\u4fc2\u3068\u3057\u3066\u542b\u3081\u308b\u305f\u3081\u306bcomposer require\u3092\u5b9f\u884c\u3057\u3001\u307e\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306ecomposer.json\u30d5\u30a1\u30a4\u30eb\u3082\u751f\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">composer<\/span> require cocur\/slugify<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u30b3\u30f3\u30dd\u30fc\u30b6\u30fc\u304c\u4f9d\u5b58\u95a2\u4fc2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3068\u3001\u3042\u306a\u305f\u306e\u51fa\u529b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8fd4\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>Using version ^4.1 for cocur\/slugify .\/composer.json has been created Running composer update cocur\/slugify Loading composer repositories with package information Updating dependencies Lock file operations: 1 install, 0 updates, 0 removals &#8211; Locking cocur\/slugify (v4.1.0) Writing lock file Installing dependencies from lock file (including require-dev) Package operations: 1 install, 0 updates, 0 removals &#8211; Downloading cocur\/slugify (v4.1.0) &#8211; Installing cocur\/slugify (v4.1.0): Extracting archive Generating autoload files<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u306e\u51fa\u529b\u304b\u3089\u308f\u304b\u308b\u3088\u3046\u306b\u3001Composer\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u4f7f\u7528\u3059\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u81ea\u52d5\u7684\u306b\u6c7a\u5b9a\u3057\u307e\u3059\u3002\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001composer.json\u3068composer.lock\u3068\u3044\u3046\u4e8c\u3064\u306e\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3068vendor\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-l<\/span><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>total 12 -rw-r&#8211;r&#8211; 1 sammy sammy 59 Aug 2 22:19 composer.json -rw-r&#8211;r&#8211; 1 sammy sammy 3462 Aug 2 22:19 composer.lock drwxr-xr-x 4 sammy sammy 4096 Aug 2 22:19 vendor<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>composer.lock \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u5404\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u4fdd\u5b58\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u307e\u305f\u3001\u4ed6\u306e\u4eba\u304c\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3001\u305d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306b\u306f\u3001\u540c\u3058\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u4f7f\u7528\u3055\u308c\u308b\u3053\u3068\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u3002vendor \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u304c\u914d\u7f6e\u3055\u308c\u308b\u5834\u6240\u3067\u3059\u3002vendor \u30d5\u30a9\u30eb\u30c0\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u7ba1\u7406\u306b\u30b3\u30df\u30c3\u30c8\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001composer.json \u3068 composer.lock \u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"post-conf-note\">\n<p class=\"post-conf-desc\">Note<\/p>\n<div>composer.json\u30d5\u30a1\u30a4\u30eb\u304c\u65e2\u306b\u542b\u307e\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5834\u5408\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306bcomposer install\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div>\n<\/div>\n<p>\u6b21\u306b\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u5236\u7d04\u3092\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002composer.json\u30d5\u30a1\u30a4\u30eb\u306e\u5185\u5bb9\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u3082\u306e\u304c\u3042\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">cat<\/span> composer.json<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p><span class=\"token punctuation\">{<\/span> <span class=\"token property\">&#8220;require&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token punctuation\">{<\/span> <span class=\"token property\">&#8220;cocur\/slugify&#8221;<\/span><span class=\"token operator\">:<\/span> <span class=\"token string\">&#8220;^4.1&#8221;<\/span> <span class=\"token punctuation\">}<\/span> <span class=\"token punctuation\">}<\/span><\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>composer.json\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u756a\u53f7\u306e\u524d\u306b\u7279\u5225\u306a\u6587\u5b57^\u304c\u3042\u308b\u3053\u3068\u306b\u6c17\u3065\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002Composer\u306f\u3001\u5fc5\u8981\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u3044\u304f\u3064\u304b\u306e\u7570\u306a\u308b\u5236\u7d04\u3068\u5f62\u5f0f\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u304a\u308a\u3001\u67d4\u8edf\u6027\u3092\u63d0\u4f9b\u3057\u3064\u3064\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u5b89\u5b9a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u81ea\u52d5\u751f\u6210\u3055\u308c\u305fcomposer.json\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u7528\u3055\u308c\u308b\u30ad\u30e3\u30ec\u30c3\u30c8(^)\u6f14\u7b97\u5b50\u306f\u3001\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u30d0\u30fc\u30b8\u30e7\u30cb\u30f3\u30b0\u306b\u5f93\u3044\u3001\u6700\u5927\u306e\u76f8\u4e92\u904b\u7528\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306e\u63a8\u5968\u3055\u308c\u308b\u6f14\u7b97\u5b50\u3067\u3059\u3002\u3053\u306e\u5834\u5408\u30014.1\u3092\u6700\u4f4e\u4e92\u63db\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u3057\u30015.0\u672a\u6e80\u306e\u5c06\u6765\u306e\u3044\u304b\u306a\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u3078\u306e\u66f4\u65b0\u3082\u8a31\u53ef\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u822c\u7684\u306b\u8a00\u3048\u3070\u3001composer.json\u30d5\u30a1\u30a4\u30eb\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u5236\u7d04\u3092\u624b\u52d5\u3067\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u3044\u304f\u3064\u304b\u306e\u72b6\u6cc1\u3067\u306f\u5236\u7d04\u3092\u624b\u52d5\u3067\u7de8\u96c6\u3059\u308b\u5fc5\u8981\u304c\u751f\u3058\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u5fc5\u8981\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u5927\u898f\u6a21\u306a\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u969b\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f\u3044\u5834\u5408\u3084\u3001\u4f7f\u7528\u3057\u305f\u3044\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u30bb\u30de\u30f3\u30c6\u30a3\u30c3\u30af\u30d0\u30fc\u30b8\u30e7\u30cb\u30f3\u30b0\u306b\u5f93\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306a\u3069\u3067\u3059\u3002<\/p>\n<p>Composer\u30d0\u30fc\u30b8\u30e7\u30f3\u5236\u7d04\u306e\u52d5\u4f5c\u3092\u3088\u308a\u7406\u89e3\u3059\u308b\u305f\u3081\u306e\u3044\u304f\u3064\u304b\u306e\u4f8b\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Constraint<\/th>\n<th>Meaning<\/th>\n<th>Example Versions Allowed<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>^1.0<\/td>\n<td>&gt;= 1.0 &lt; 2.0<\/td>\n<td>1.0, 1.2.3, 1.9.9<\/td>\n<\/tr>\n<tr>\n<td>^1.1.0<\/td>\n<td>&gt;= 1.1.0 &lt; 2.0<\/td>\n<td>1.1.0, 1.5.6, 1.9.9<\/td>\n<\/tr>\n<tr>\n<td>~1.0<\/td>\n<td>&gt;= 1.0 &lt; 2.0.0<\/td>\n<td>1.0, 1.4.1, 1.9.9<\/td>\n<\/tr>\n<tr>\n<td>~1.0.0<\/td>\n<td>&gt;= 1.0.0 &lt; 1.1<\/td>\n<td>1.0.0, 1.0.4, 1.0.9<\/td>\n<\/tr>\n<tr>\n<td>1.2.1<\/td>\n<td>1.2.1<\/td>\n<td>1.2.1<\/td>\n<\/tr>\n<tr>\n<td>1.*<\/td>\n<td>&gt;= 1.0 &lt; 2.0<\/td>\n<td>1.0.0, 1.4.5, 1.9.9<\/td>\n<\/tr>\n<tr>\n<td>1.2.*<\/td>\n<td>&gt;= 1.2 &lt; 1.3<\/td>\n<td>1.2.0, 1.2.3, 1.2.9<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p>Composer\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u5236\u7d04\u306b\u3064\u3044\u3066\u3088\u308a\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u5834\u5408\u306f\u3001\u516c\u5f0f\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u6b21\u306b\u3001Composer\u3092\u4f7f\u3063\u3066\u4f9d\u5b58\u95a2\u4fc2\u3092\u81ea\u52d5\u7684\u306b\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d74\uff1a\u30aa\u30fc\u30c8\u30ed\u30fc\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u542b\u3081\u308b<\/h2>\n<p>PHP\u81ea\u4f53\u306f\u30af\u30e9\u30b9\u3092\u81ea\u52d5\u7684\u306b\u30ed\u30fc\u30c9\u3057\u306a\u3044\u306e\u3067\u3001Composer\u306f\u81ea\u52d5\u30ed\u30fc\u30c9\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30aa\u30fc\u30c8\u30ed\u30fc\u30c9\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f\u4f9d\u5b58\u95a2\u4fc2\u3092\u6271\u3046\u969b\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<p>PHP\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u5316\u3092\u884c\u3046\u524d\u306b\u3001\u5fc5\u8981\u306a\u552f\u4e00\u306e\u3053\u3068\u306f\u3001vendor\/autoload.php\u30d5\u30a1\u30a4\u30eb\u3092\u542b\u3081\u308b\u3053\u3068\u3067\u3059\u3002\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u6700\u521d\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u8ffd\u52a0\u3059\u308b\u969b\u306bComposer\u306b\u3088\u3063\u3066\u81ea\u52d5\u7684\u306b\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u305d\u308c\u3092\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002test.php\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u304a\u597d\u307f\u306e\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u958b\u3044\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u3053\u3067\u306f\u3001nano\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">nano<\/span> test.php<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u3001vendor\/autoload.php\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u307f\u3001cocur\/slugify\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u30ed\u30fc\u30c9\u3057\u3001\u30b9\u30e9\u30c3\u30b0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div>\u30c6\u30b9\u30c8.php<\/div>\n<pre class=\"post-pre\"><code><span class=\"token php language-php\"><span class=\"token delimiter important\">&lt;?php<\/span>\r\n<span class=\"token keyword\">require<\/span> <span class=\"token constant\">__DIR__<\/span> <span class=\"token operator\">.<\/span> <span class=\"token string single-quoted-string\">'\/vendor\/autoload.php'<\/span><span class=\"token punctuation\">;<\/span> \r\n<span class=\"token keyword\">use<\/span> <span class=\"token package\">Cocur<span class=\"token punctuation\">\\<\/span>Slugify<span class=\"token punctuation\">\\<\/span>Slugify<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\n<span class=\"token variable\">$slugify<\/span> <span class=\"token operator\">=<\/span> <span class=\"token keyword\">new<\/span> <span class=\"token class-name\">Slugify<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n\r\n<span class=\"token keyword\">echo<\/span> <span class=\"token variable\">$slugify<\/span><span class=\"token operator\">-&gt;<\/span><span class=\"token function\">slugify<\/span><span class=\"token punctuation\">(<\/span><span class=\"token string single-quoted-string\">'Hello World, this is a long sentence and I need to make a slug from it!'<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span>\r\n<\/span><\/code><\/pre>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u7d42\u4e86\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3082\u3057nano\u3092\u4f7f\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u3001CTRL + X \u3092\u62bc\u3057\u3066\u304b\u3089 Y \u3068 ENTER \u3092\u62bc\u305b\u3070\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4eca\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\">php test.php<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u4ee5\u4e0b\u306e\u51fa\u529b\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<div class=\"secondary-code-label\" title=\"Output\">Output<\/div>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>hello-world-this-is-a-long-sentence-and-i-need-to-make-a-slug-from-it<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u51fa\u305f\u969b\u306b\u306f\u3001\u4f9d\u5b58\u95a2\u4fc2\u3092\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u6700\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u305d\u306e\u51e6\u7406\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30c6\u30c3\u30d75\uff1a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/h2>\n<p>\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u66f4\u65b0\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">composer<\/span> update<\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u65e5\u672c\u8a9e\u3067\u306e\u30cd\u30a4\u30c6\u30a3\u30d6\u306a\u30d1\u30e9\u30d5\u30ec\u30fc\u30ba\u3092\u3054\u63d0\u4f9b\u3044\u305f\u3057\u307e\u3059\uff081\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u307f\uff09\uff1a<\/p>\n<p>\u3053\u308c\u306b\u3088\u308a\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u8981\u4ef6\u3068\u3057\u3066\u8ffd\u52a0\u3057\u305f\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u691c\u7d22\u3055\u308c\u307e\u3059\u3002\u3082\u3057\u65b0\u3057\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u898b\u3064\u304b\u308a\u3001composer.json\u30d5\u30a1\u30a4\u30eb\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u5236\u7d04\u3068\u4e92\u63db\u6027\u304c\u3042\u308b\u5834\u5408\u3001Composer\u306f\u4ee5\u524d\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7f6e\u304d\u63db\u3048\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u5909\u66f4\u3092\u53cd\u6620\u3059\u308b\u305f\u3081\u3001composer.lock\u30d5\u30a1\u30a4\u30eb\u3082\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u7279\u5b9a\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u6307\u5b9a\u3057\u3066\u66f4\u65b0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<ol>\n<li data-prefix=\"$\"><span class=\"token function\">composer<\/span> update <mark>vendor\/package vendor2\/package2<\/mark><\/li>\n<\/ol>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>&nbsp;<\/p>\n<pre class=\"post-pre\"><code><\/code><\/pre>\n<p>\u4f9d\u5b58\u95a2\u4fc2\u3092\u66f4\u65b0\u3057\u305f\u5f8c\u306f\u3001composer.json\u3068composer.lock\u30d5\u30a1\u30a4\u30eb\u306b\u5909\u66f4\u5185\u5bb9\u3092\u53cd\u6620\u3055\u305b\u308b\u3053\u3068\u3092\u5fd8\u308c\u305a\u306b\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002\u305d\u3046\u3059\u308b\u3053\u3068\u3067\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u53d6\u308a\u7d44\u3093\u3067\u3044\u308b\u8ab0\u3067\u3082\u540c\u3058\u30d1\u30c3\u30b1\u30fc\u30b8\u30d0\u30fc\u30b8\u30e7\u30f3\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u30b3\u30f3\u30dd\u30fc\u30b6\u30fc\u306f\u3001\u3069\u306ePHP\u958b\u767a\u8005\u3082\u5fc5\u305a\u5099\u3048\u3066\u3044\u308b\u3079\u304d\u5f37\u529b\u306a\u30c4\u30fc\u30eb\u3067\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Debian 11\u306b\u30b3\u30f3\u30dd\u30fc\u30b6\u30fc\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u66f4\u65b0\u65b9\u6cd5\u3092\u5b66\u3073\u307e\u3057\u305f\u3002<\/p>\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u3092\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u4fe1\u983c\u6027\u306e\u3042\u308b\u65b9\u6cd5\u3092\u63d0\u4f9b\u3059\u308b\u3060\u3051\u3067\u306a\u304f\u3001Composer\u306f\u30b3\u30df\u30e5\u30cb\u30c6\u30a3\u306b\u3088\u3063\u3066\u4f5c\u6210\u3055\u308c\u305fPHP\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u5171\u6709\u3057\u3001\u767a\u898b\u3059\u308b\u65b0\u3057\u3044\u57fa\u6e96\u3092\u78ba\u7acb\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306e\u6587\u3092\u65e5\u672c\u8a9e\u3067\u81ea\u7136\u306a\u8a00\u3044\u65b9\u306b\u8a00\u3044\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u4e00\u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u69cb\u3044\u307e\u305b\u3093\u3002 \u300cIntroduction\u300d Composer\u306f\u3001\u4e3b\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u66f4\u65b0\u3092\u5bb9\u6613\u306b\u3059\u308b\u305f\u3081\u306b\u4f5c\u6210\u3055\u308c\u305fPHP\u306e\u4eba\u6c17 [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[17,26],"class_list":["post-256","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-17","tag-26"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11\u3067composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11\u3067composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-09-30T02:52:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T13:03:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65647ad7daa94e2bdf7b8e00\/54-0.PNG\" \/>\n<meta name=\"author\" content=\"\u590f\u6a39, \u98a8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u590f\u6a39, \u98a8\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"24\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\",\"name\":\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2022-09-30T02:52:29+00:00\",\"dateModified\":\"2025-07-31T13:03:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\"},\"description\":\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d\",\"name\":\"\u590f\u6a39, \u98a8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g\",\"caption\":\"\u590f\u6a39, \u98a8\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","description":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11\u3067composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/","og_locale":"ja_JP","og_type":"article","og_title":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5","og_description":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11\u3067composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2022-09-30T02:52:29+00:00","article_modified_time":"2025-07-31T13:03:51+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/65647ad7daa94e2bdf7b8e00\/54-0.PNG"}],"author":"\u590f\u6a39, \u98a8","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u590f\u6a39, \u98a8","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"24\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/","name":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2022-09-30T02:52:29+00:00","dateModified":"2025-07-31T13:03:51+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d"},"description":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Debian 11\u3067Composer\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u4f7f\u7528\u306e\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/4e591db2661c4cc425470b461259391d","name":"\u590f\u6a39, \u98a8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/65e0ff40534461b1fa000382dc194e1716f793ab0bcb218ac3c40895551a08c5?s=96&d=mm&r=g","caption":"\u590f\u6a39, \u98a8"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/natsukikaze\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/debian-11%e3%81%a7composer%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=256"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions"}],"predecessor-version":[{"id":325770,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/256\/revisions\/325770"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}