{"id":4549,"date":"2019-09-04T02:21:41","date_gmt":"2019-09-03T17:21:41","guid":{"rendered":"https:\/\/blog.capilano-fw.com\/?p=4549"},"modified":"2019-09-04T02:21:41","modified_gmt":"2019-09-03T17:21:41","slug":"%e3%80%90laravel%e3%80%91zip%e3%80%81gzip%e3%80%81bz2%e3%81%a7%e5%9c%a7%e7%b8%ae%e3%81%97%e3%81%a6%e3%83%80%e3%82%a6%e3%83%b3%e3%83%ad%e3%83%bc%e3%83%89%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/blog.capilano-fw.com\/?p=4549","title":{"rendered":"\u3010Laravel\u3011zip\u3001gzip\u3001bz2\u3067\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9\u3092\u3057\u3066\u3044\u308b\u3068\u7279\u306b\u7ba1\u7406\u7cfb\u306e\u30da\u30fc\u30b8\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u308a\u9006\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u6a5f\u80fd\u3068\u3044\u3046\u306e\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u304d\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p><code>Laravel<\/code>\u3092\u4f7f\u3048\u3070\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\uff06\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u6a5f\u80fd\u306f\u305d\u308c\u307b\u3069\u96e3\u3057\u3044\u308f\u3051\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u304c<span style=\"font-size: 1rem;\">\u3001\u305d\u308c\u3067\u3082<\/span><strong style=\"font-size: 1rem;\">\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u5727\u7e2e\u3001\u307e\u305f\u306f\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\uff11\u3064\u306b\u56fa\u3081\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/strong><span style=\"font-size: 1rem;\">\u3068\u306a\u3063\u305f\u3089\u3069\u3046\u3067\u3057\u3087\u3046\u3002\u3055\u3059\u304c\u306b\u305d\u3053\u307e\u3067\u306f<\/span><code>Laravel<\/code><span style=\"font-size: 1rem;\">\u3068\u3044\u3048\u3069\u3082\u9762\u5012\u306f\u898b\u3066\u304f\u308c\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u306f\u81ea\u5206\u81ea\u8eab\u3067\u5b9f\u88c5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<p>\u305d\u3053\u3067\uff01<\/p>\n<p>\u4eca\u56de\u306f\u3001\u305d\u3093\u306a\u5727\u7e2e\u3084\u5c55\u958b\uff08\u6614\u3067\u8a00\u3046\u89e3\u51cd\uff09\u3059\u308b\u6a5f\u80fd\u3092<code>Laravel<\/code>\u3067\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u304a\u5c4a\u3051\u3057\u307e\u3059\u3002<\/p>\n<p>\u305c\u3072\u7686\u3055\u3093\u306e\u304a\u5f79\u306b\u7acb\u3066\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3344 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22.png\" alt=\"\" width=\"320\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22.png 320w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-150x150.png 150w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-300x300.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/04\/no_22-100x100.png 100w\" sizes=\"auto, (max-width: 320px) 100vw, 320px\" \/><\/p>\n<p><strong>\u958b\u767a\u74b0\u5883\uff1a<\/strong> Laravel 5.8<\/p>\n<h1>\u524d\u63d0\u3068\u3057\u3066<\/h1>\n<p><code>gzip<\/code>\u3068<code>bz2<\/code>\u306f\u3001\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e<code>PHP<\/code>\u30e2\u30b8\u30e5\u30fc\u30eb\u304c\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>gzip\u3000\u30fb\u30fb\u30fb\u3000zlib<\/li>\n<li>bz2\u3000\u30fb\u30fb\u30fb\u3000bz2<\/li>\n<\/ul>\n<p><code>phpinfo()<\/code>\u3067\u8868\u793a\u3057\u305f\u5185\u5bb9\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308c\u3070\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4551\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_1.png\" alt=\"\" width=\"784\" height=\"276\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_1.png 784w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_1-300x106.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_1-768x270.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4550\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_2.png\" alt=\"\" width=\"781\" height=\"151\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_2.png 781w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_2-300x58.png 300w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_2-768x148.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/p>\n<p>\u79c1\u306e\u74b0\u5883\u3067\u306f\u3059\u3067\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305f\u72b6\u614b\u3067\u3057\u305f\u304c\u3001\u3082\u3057\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3066\u30b3\u30de\u30f3\u30c9\u304b\u3089\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u691c\u7d22\u3057\u3066\u307f\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<pre><strong>sudo apt search php | grep bz2<\/strong><\/pre>\n<h1>\u30d5\u30a1\u30a4\u30eb\u3092\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h1>\n<h2>zip\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p><code>zip<\/code>\u3067\u3072\u3068\u3064\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u307e\u3068\u3081\u308b\u306b\u306f<code>ZipArchive<\/code>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>$save_path = storage_path('app\/test.zip');<\/strong>\r\n<strong>$zip = new \\ZipArchive();<\/strong>\r\n<strong>$zip-&gt;open($save_path, \\ZipArchive::CREATE);<\/strong>\r\n\r\n<strong>for($i = 1 ; $i &lt;= 3 ; $i++) {<\/strong>\r\n\r\n<strong>    $filename = 'test_'. $i .'.txt';    \/\/ test_1.txt \u301c test_3.txt<\/strong>\r\n<strong>    $file_path = storage_path('app\/'. $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/strong>\r\n<strong>    $zip-&gt;addFile($file_path, $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u6587\u5b57\u5217\u304b\u3089\u8ffd\u52a0<\/strong>\r\n<strong>    $zip-&gt;addFromString('additional.txt', '\u6587\u5b57\u5217\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u8ffd\u52a0');<\/strong>\r\n\r\n<strong>}<\/strong>\r\n\r\n<strong>$zip-&gt;close();<\/strong>\r\n\r\n<strong>return response()-&gt;download($save_path)<\/strong><strong>;<\/strong><\/pre>\n<p>\u307e\u305a<code>$save_path<\/code>\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u4eca\u304b\u3089\u3064\u304f\u308b<code>zip<\/code>\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u5834\u6240\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u30eb\u30fc\u30d7\u306e\u4e2d\u3067<code>zip<\/code>\u30d5\u30a1\u30a4\u30eb\u306e\u4e2d\u8eab\u3092\u8ffd\u52a0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>addFile\u3000\u30fb\u30fb\u30fb\u3000\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/li>\n<li>addFromString\u3000\u30fb\u30fb\u30fb\u3000\u6587\u5b57\u5217\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/li>\n<\/ul>\n<p>\u3053\u3053\u3067\u91cd\u8981\u306a\u306e\u304c<code>addFile()<\/code>\u306e\u7b2c\uff12\u5f15\u6570\u3001<code>addFromString()<\/code>\u306e\u7b2c\u4e00\u5f15\u6570\u306e\u300c\u30ed\u30fc\u30ab\u30eb\u540d\u300d\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u5c55\u958b\uff08\u89e3\u51cd\uff09\u3057\u305f\u969b\u306e\u30d1\u30b9\u306b\u3042\u305f\u308b\u3082\u306e\u3067\u3001\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3068<code>texts<\/code>\u306e\u4e2d\u306b\u5404\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre>$zip-&gt;addFile($file_path, <strong>'texts\/'. $filename<\/strong>);<\/pre>\n<p>\u5b9f\u969b\u306b<code>texts<\/code>\u3092\u3064\u3051\u3066<code>zip<\/code>\u5316\u3055\u305b\u305f\u5834\u5408\u306e\u30d5\u30a1\u30a4\u30eb\u69cb\u6210\u306f\u3053\u3061\u3089\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4552\" style=\"border: 3px solid #000;\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2019\/09\/compress_3.png\" alt=\"\" width=\"461\" height=\"121\" \/><\/p>\n<h2>gzip\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p><code>gzip<\/code>\u5727\u7e2e\u306e\u5834\u5408\u306f\u3001<code>PharData<\/code>\u3092\u4f7f\u3044\u307e\u3059\u3002<\/p>\n<pre><strong>$tar_path = storage_path('app\/test.tar');<\/strong>\r\n<strong>$gzip_path = storage_path('app\/test.tar.gz');<\/strong>\r\n\r\n<strong>$pd = new \\PharData($tar_path);<\/strong>\r\n\r\n<strong>for($i = 1 ; $i &lt;= 3 ; $i++) {<\/strong>\r\n\r\n<strong>    $filename = 'test_'. $i .'.txt';    \/\/ test_1.txt \u301c test_3.txt<\/strong>\r\n<strong>    $file_path = storage_path('app\/'. $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/strong>\r\n<strong>    $pd-&gt;addFile($file_path, $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u6587\u5b57\u5217\u304b\u3089\u8ffd\u52a0<\/strong>\r\n<strong>    $pd-&gt;addFromString('additional.txt', '\u6587\u5b57\u5217\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u8ffd\u52a0');<\/strong>\r\n\r\n<strong>}<\/strong>\r\n\r\n<strong>$pd-&gt;compress(\\Phar::GZ);<\/strong>\r\n<strong>\/\/ @unlink($tar_path);<\/strong>\r\n\r\n<strong>return response()-&gt;download($gzip_path);<\/strong><\/pre>\n<p>\u57fa\u672c\u7684\u306b\u306f\u3001<code>zip<\/code>\u5727\u7e2e\u306e<code>ZipArchive<\/code>\u3068\u540c\u3058\u3067\u3059\u304c\u3001\u3072\u3068\u3064\u9055\u3046\u306e\u306f<code>gzip<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u624b\u9806\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308b\u90e8\u5206\u3067\u3059\u3002<\/p>\n<ol>\n<li>tar\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308b<\/li>\n<li>tar.gz\uff08gzip\uff09\u30d5\u30a1\u30a4\u30eb\u3092\u3064\u304f\u308b<\/li>\n<\/ol>\n<p>\u3064\u307e\u308a\u3001\u7d50\u679c\u7684\u306b<code>tar<\/code>\u30d5\u30a1\u30a4\u30eb\u3068<code>tar.gz<\/code>\u30d5\u30a1\u30a4\u30eb\uff12\u3064\u304c\u4f5c\u6210\u3055\u308c\u308b\u306e\u3067\u3001\u4e0d\u8981\u3067\u3042\u308c\u3070\u81ea\u5206\u3067\u524a\u9664\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002\u30b3\u30e1\u30f3\u30c8\u5316\u3057\u3066\u3044\u307e\u3059\u304c\u30b3\u30fc\u30c9\u306e\u6700\u5f8c\u306e\u65b9\u3067<code>unlink()<\/code>\u3092\u4f7f\u3063\u3066\u3044\u308b\u306e\u306f\u3053\u306e\u305f\u3081\u3067\u3059\u3002<\/p>\n<h2>bz2\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b<\/h2>\n<p><code>bz2<\/code>\u5727\u7e2e\u306f<code>gzip<\/code>\u5727\u7e2e\u3068\u307b\u307c\u540c\u3058\u3067\u3059\u3002<\/p>\n<pre><strong>$tar_path = storage_path('app\/test.tar');<\/strong>\r\n<strong>$bz2_path = storage_path('app\/test.tar.bz2');<\/strong>\r\n\r\n<strong>$pd = new \\PharData($tar_path);<\/strong>\r\n\r\n<strong>for($i = 1 ; $i &lt;= 3 ; $i++) {<\/strong>\r\n\r\n<strong>    $filename = 'test_'. $i .'.txt';    \/\/ test_1.txt \u301c test_3.txt<\/strong>\r\n<strong>    $file_path = storage_path('app\/'. $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0<\/strong>\r\n<strong>    $pd-&gt;addFile($file_path, $filename);<\/strong>\r\n\r\n<strong>    \/\/ \u6587\u5b57\u5217\u304b\u3089\u8ffd\u52a0<\/strong>\r\n<strong>    $pd-&gt;addFromString('additional.txt', '\u6587\u5b57\u5217\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u8ffd\u52a0');<\/strong>\r\n\r\n<strong>}<\/strong>\r\n\r\n<strong>$pd-&gt;compress(\\Phar::BZ2);<\/strong>\r\n<strong>\/\/ @unlink($tar_path);<\/strong>\r\n\r\n<strong>return response()-&gt;download($bz2_path);<\/strong><\/pre>\n<p><code>gzip<\/code>\u3068\u9055\u3063\u3066\u3044\u308b\u306e\u306f\u3001\u4fdd\u5b58\u3059\u308b\u30d1\u30b9\u3068\u4ee5\u4e0b\u306e\u5727\u7e2e\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\u3002<\/p>\n<pre><strong>$pd-&gt;compress(\\Phar::BZ2);<\/strong><\/pre>\n<h1>\u3061\u306a\u307f\u306b<\/h1>\n<h2>\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u3089<\/h2>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u305f\u5834\u5408\u306f\u3001<strong>\u300c\u3059\u3067\u306b\u540c\u3058\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u306e\u3067\u5148\u306b\u6d88\u3057\u3066\u306d\u300d<\/strong>\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u306e\u3067\u3001\u5148\u306b\u30d5\u30a1\u30a4\u30eb\u3092<code>unlink()<\/code>\u306a\u3069\u3067\u524a\u9664\u3057\u3066\u304b\u3089\u5727\u7e2e\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><strong>phar \"******\" exists and must be unlinked prior to conversion<\/strong><\/pre>\n<h2>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u5143\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u305f\u5834\u5408<\/h2>\n<p>\u958b\u767a\u5185\u5bb9\u306b\u3088\u3063\u3066\u306f\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3092\u308f\u3056\u308f\u3056\u30b5\u30fc\u30d0\u30fc\u306b\u7f6e\u3044\u3066\u304a\u304b\u306a\u304f\u3066\u3082\u3044\u3044\u5834\u5408\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305d\u3093\u306a\u5834\u5408\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>deleteFileAfterSend()<\/code>\u3092\u3064\u3051\u308b\u3060\u3051\u3067\u81ea\u52d5\u7684\u306b\u524a\u9664\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<pre>return response()-&gt;download($save_path)-&gt;<strong>deleteFileAfterSend()<\/strong>;<\/pre>\n<h3>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b<\/h3>\n<p><code>Laravel<\/code>\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u6307\u5b9a\u3092\u3059\u308b\u306b\u306f<code>download()<\/code>\u306e\u7b2c\uff12\u5f15\u6570\u306b\u540d\u524d\u3092\u5165\u308c\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/p>\n<pre>return response()-&gt;download($bz2_path, <strong>'my.tar.gz'<\/strong>);<\/pre>\n<h1>\u304a\u308f\u308a\u306b<\/h1>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f<code>Laravel<\/code>\u3067\u5727\u7e2e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u90e8\u5206\u306f<code>Laravel<\/code>\u306e\u307f\u3057\u304b\u6709\u52b9\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u5727\u7e2e\u90e8\u5206\u306f<code>PHP<\/code>\u5358\u4f53\u3067\u3082\u3001\u305d\u306e\u4ed6\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3082\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u306e\u3067\u3001\u305c\u3072\u53c2\u8003\u306b\u306a\u308b\u3068\u5b09\u3057\u3044\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u305d\u306e\u6614\u3088\u304f<code>lzh<\/code>\u5f62\u5f0f\u3068\u304b<code>rar<\/code>\u5f62\u5f0f\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u304b\u3063\u3066\u3042\u3063\u305f\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u6700\u8fd1\u898b\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002\uff08<code>windows<\/code>\u3067\u306f\u666e\u901a\u306b\u4f7f\u3063\u3066\u308b\u306e\u304b\u306a\uff1f\uff1f\uff09<\/p>\n<p>\u3067\u306f\u3067\u306f\u301c\uff01<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-519 aligncenter\" src=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/05\/21.png\" alt=\"\" width=\"192\" height=\"320\" srcset=\"https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/05\/21.png 192w, https:\/\/blog.capilano-fw.com\/wp-content\/uploads\/2018\/05\/21-180x300.png 180w\" sizes=\"auto, (max-width: 192px) 100vw, 192px\" \/>\u300c\u4eca\u56de\u306f\u6587\u5b57\u306e\u91cf\u3082\u5727\u7e2e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3057\u305f\ud83d\ude05\u300d<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066\u3055\u3066\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9\u3092\u3057\u3066\u3044\u308b\u3068\u7279\u306b\u7ba1\u7406\u7cfb\u306e\u30da\u30fc\u30b8\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u308a\u9006\u306b\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u6a5f\u80fd\u3068\u3044\u3046\u306e\u304c\u5fc5\u8981\u306b\u306a\u3063\u3066\u304d\u305f\u308a\u3057\u307e\u3059\u3002 Lara &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.capilano-fw.com\/?p=4549\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u3010Laravel\u3011zip\u3001gzip\u3001bz2\u3067\u5727\u7e2e\u3057\u3066\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u65b9\u6cd5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":4559,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[31,173],"class_list":["post-4549","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-laravel","tag-31","tag-173"],"_links":{"self":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4549","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4549"}],"version-history":[{"count":7,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4549\/revisions"}],"predecessor-version":[{"id":4561,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/posts\/4549\/revisions\/4561"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=\/wp\/v2\/media\/4559"}],"wp:attachment":[{"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4549"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4549"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.capilano-fw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}