{"id":15953829,"url":"https://github.com/yasu-s/laravel-example","last_synced_at":"2026-04-13T12:01:43.697Z","repository":{"id":149597825,"uuid":"360509962","full_name":"yasu-s/laravel-example","owner":"yasu-s","description":"laravel練習用","archived":false,"fork":false,"pushed_at":"2021-05-04T05:20:41.000Z","size":155,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-12T00:44:14.090Z","etag":null,"topics":["docker","laravel","php","vscode-devcontainer"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yasu-s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-22T12:24:19.000Z","updated_at":"2021-05-04T05:20:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"cde9bfc0-b752-4470-af59-e3212c1ed113","html_url":"https://github.com/yasu-s/laravel-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yasu-s/laravel-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Flaravel-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Flaravel-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Flaravel-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Flaravel-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yasu-s","download_url":"https://codeload.github.com/yasu-s/laravel-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yasu-s%2Flaravel-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","laravel","php","vscode-devcontainer"],"created_at":"2024-10-07T13:14:12.656Z","updated_at":"2026-04-13T12:01:43.658Z","avatar_url":"https://github.com/yasu-s.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# laravel-example\n\n## 概要\n\n- laravel練習用\n\n## 開発環境について\n\n- [Visual Studio Code](https://code.visualstudio.com/) \n  - [Remote-Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)\n- [Docker Desktop](https://www.docker.com/products/docker-desktop)\n\n## 環境構築\n\n### envファイルをコピー\n\n```bash\ncp .env.example .env\n```\n\n### Remote Containers起動\n\nVSCodeの[Remote Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)をインストールして、Remote Containersを通常通り起動してください。\n\n### 初期設定\n\n```bash\n# パッケージインストール\ncomposer install\n\n# アプリケーションキー生成\nphp artisan key:generate\n\n# DBマイグレーション\nphp artisan migrate\n\n# DB初期データ登録\nphp artisan db:seed\n```\n\n## 動作確認\n\n### サーバー起動\n\n```bash\nphp artisan serve\n```\n\n### アクセストークン取得\n\n```bash\ncurl --location --request POST 'localhost:8000/api/login' \\\n--form 'email=\"hoge@hoge.com\"' \\\n--form 'password=\"password\"'\n```\n\n### ログイン済みユーザーデータ取得\n\n```bash\ncurl --location --request GET 'localhost:8000/api/user' \\\n--header 'Authorization: Bearer \u003c取得したアクセストークン\u003e\n```\n\n## 参考URL\n\n- https://readouble.com/laravel/8.x/ja/sanctum.html\n\n## メモ\n\n動かない場合、以下の手順を試す。\n- docker/mysql/dataフォルダ内のファイルを削除する。\n- `Remote-Containers: Rebuild Container` を使用してコンテナをリビルドする。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu-s%2Flaravel-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasu-s%2Flaravel-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasu-s%2Flaravel-example/lists"}