{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/kenji148/","type":"rich","author_name":"kenji148","categories":[],"published":"2023-12-10 13:22:40","height":"190","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkenji148.hatenablog.com%2Fentry%2F2023%2F12%2F10%2F132240\" title=\"laravel \u30b3\u30de\u30f3\u30c9 \u5f15\u6570\u5236\u5fa1 - kenji148\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://kenji148.hatenablog.com/entry/2023/12/10/132240","description":"Laravel\u3067\u30d0\u30c3\u30c1\u51e6\u7406\u3092\u884c\u3044\u3001\u7279\u5b9a\u306e\u6708\u306e\u521d\u65e5\u3068\u672b\u65e5\u306e\u65e5\u4ed8\u3092\u53d6\u5f97\u3057\u3066\u3001\u305d\u306e\u671f\u9593\u5185\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u4f8b\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u5165\u529b\u3057\u305f\u6708\u3092\u57fa\u306b\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002 1. **\u30d0\u30c3\u30c1\u30b3\u30de\u30f3\u30c9\u306e\u4f5c\u6210**: \u307e\u305a\u3001Laravel\u3067\u30d0\u30c3\u30c1\u30b3\u30de\u30f3\u30c9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 ```bash php artisan make:command GetDataForMonth ``` 2. **\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u88c5**: \u4f5c\u6210\u3057\u305f\u30b3\u30de\u30f3\u30c9\u30af\u30e9\u30b9 (`GetDataForMonth`) \u306b\u30ed\u30b8\u30c3\u30af\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002 ```php <?php namespace App\\Console\\Commands; use Illum\u2026","blog_url":"https://kenji148.hatenablog.com/","title":"laravel \u30b3\u30de\u30f3\u30c9 \u5f15\u6570\u5236\u5fa1","image_url":null,"width":"100%","version":"1.0","blog_title":"kenji148\u2019s diary"}