{"id":438,"date":"2022-08-30T08:16:00","date_gmt":"2022-08-29T23:16:00","guid":{"rendered":"https:\/\/www.b64.pw\/blog\/?p=438"},"modified":"2022-08-30T08:16:01","modified_gmt":"2022-08-29T23:16:01","slug":"%e8%87%aa%e4%bd%9ccomposer%e3%83%a9%e3%82%a4%e3%83%96%e3%83%a9%e3%83%aa%e3%82%92packagist%e3%81%ab%e7%99%bb%e9%8c%b2%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.b64.pw\/blog\/?p=438","title":{"rendered":"\u81ea\u4f5ccomposer\u30e9\u30a4\u30d6\u30e9\u30ea\u3092Packagist\u306b\u767b\u9332\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>\u81ea\u5206\u3067\u4f5c\u3063\u305fcomposer\u5411\u3051\u30e9\u30a4\u30d6\u30e9\u30ea\u306fpackagist\u306b\u767b\u9332\u3057\u306a\u304f\u3066\u3082composer.json\u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u3092\u66f8\u3051\u3070\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308b\u304c\u3001\u3061\u3087\u3063\u3068\u9762\u5012\u3002<\/p>\n\n\n\n<p>\u624b\u8efd\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306brequire\u3060\u3051\u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u305f\u3044<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>composer require pg_ito\/fast_ulid<\/code><\/pre><\/div>\n\n\n\n<h2>\u6e96\u5099<\/h2>\n\n\n\n<p>composer\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u5f62\u5f0f\u3092\u6e80\u305f\u3059\u3088\u3046\u306b <code>composer init<\/code> \u304b\u3089\u59cb\u307e\u308b\u624b\u9806\u3067<a href=\"https:\/\/www.b64.pw\/blog\/?p=398\" target=\"_blank\" rel=\"noreferrer noopener\">\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f5c\u308b<\/a><\/p>\n\n\n\n<p>github\u306b\u30bd\u30fc\u30b9\u3092push\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u3067\u304d\u308c\u3070tag\u3092\u5207\u3063\u3066\u304a\u304f(v1.0.0\u306a\u3069)<\/p>\n\n\n\n<h2>Packagist\u767b\u9332<\/h2>\n\n\n\n<p>github\u30a2\u30ab\u30a6\u30f3\u30c8\u9023\u643a\u3067Packagist\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b(\u300cUse Github\u300d\u3092\u62bc\u3059)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"978\" height=\"360\" src=\"https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/image-6.png\" alt=\"\" class=\"wp-image-439\" srcset=\"https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/image-6.png 978w, https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/image-6-300x110.png 300w, https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/image-6-768x283.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305f\u3089Submit\u3092\u62bc\u3059<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"465\" src=\"https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-30-060247-1024x465.png\" alt=\"\" class=\"wp-image-440\" srcset=\"https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-30-060247-1024x465.png 1024w, https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-30-060247-300x136.png 300w, https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-30-060247-768x349.png 768w, https:\/\/www.b64.pw\/blog\/wp-content\/uploads\/2022\/08\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-08-30-060247.png 1059w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e0a\u306e\u56f3\u306e\u3088\u3046\u306b\u300cRepository URL (Git\/Svn\/Hg)\u300d\u306e\u6b04\u306bgithub\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306eURL\u3092\u5165\u529b\u3057\u3066Check\u3092\u62bc\u3059<\/p>\n\n\n\n<p>\u30c1\u30a7\u30c3\u30af\u304c\u901a\u308c\u3070OK\u3002<\/p>\n\n\n\n<p>github\u3078\u306epush\u306b\u9023\u52d5\u3057\u3066\u81ea\u52d5\u66f4\u65b0\u3057\u3066\u304f\u308c\u308b\u6a5f\u80fd\u304c\u3042\u308b\u304c\u3001github\u30a2\u30ab\u30a6\u30f3\u30c8\u9023\u643a\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3044\u308c\u3070\u305d\u306e\u307e\u307e\u3067OK\u3089\u3057\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5206\u3067\u4f5c\u3063\u305fcomposer\u5411\u3051\u30e9\u30a4\u30d6\u30e9\u30ea\u306fpackagis &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/438"}],"collection":[{"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=438"}],"version-history":[{"count":1,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions"}],"predecessor-version":[{"id":441,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=\/wp\/v2\/posts\/438\/revisions\/441"}],"wp:attachment":[{"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.b64.pw\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}