{"author_name":"python_konbu","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpython-konbu.hateblo.jp%2Fentry%2F2018%2F08%2F28%2F161535\" title=\"\u5171\u901a\u51e6\u7406\u3092\u666e\u901a\u306b\u95a2\u6570\u3067\u307e\u3068\u3081\u305f - \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u9762\u767d\u3044\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","height":"190","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","url":"https://python-konbu.hateblo.jp/entry/2018/08/28/161535","author_url":"https://blog.hatena.ne.jp/python_konbu/","width":"100%","image_url":null,"published":"2018-08-28 16:15:35","blog_title":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u9762\u767d\u3044","type":"rich","description":"\u3055\u3066\u3001\u6628\u65e5\u8a18\u4e8b\u306b\u3057\u305f\u5185\u5bb9\u306a\u306e\u3067\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u95a2\u6570\u3067\u307e\u3068\u3081\u307e\u3057\u305f\u3002 \u4fee\u6b63\u524d\u306e\u6708\u5225\u30a2\u30fc\u30ab\u30a4\u30d6\u3068\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u306f\u3053\u3093\u306a\u611f\u3058\u3067\u3057\u305f\u3002 // namespace\u3068\u304b\u306f\u7701\u7565\u3002\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u304b\u3089 public function index() { $posts = Post::latest()->get(); // \u6700\u65b0\u8a18\u4e8b\uff15\u4ef6 $five = Post::latest()->take(5)->get(); // \u6708\u5225\u30a2\u30fc\u30ab\u30a4\u30d6\u51e6\u7406 $posts = Post::all(); $monthList = []; foreach($posts as $post) { $monthList[] = $post-\u2026","blog_url":"https://python-konbu.hateblo.jp/","title":"\u5171\u901a\u51e6\u7406\u3092\u666e\u901a\u306b\u95a2\u6570\u3067\u307e\u3068\u3081\u305f","categories":["\u65e5\u8a18","\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0","\u30d6\u30ed\u30b0\u958b\u767a","Laravel","PHP"]}