{"id":15026025,"url":"https://github.com/kento75/php-with-laravel-for-beginners","last_synced_at":"2026-01-29T21:01:48.201Z","repository":{"id":107560409,"uuid":"242332833","full_name":"Kento75/php-with-laravel-for-beginners","owner":"Kento75","description":"Laravelのお勉強","archived":false,"fork":false,"pushed_at":"2020-03-02T22:24:06.000Z","size":80,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-07T17:06:20.784Z","etag":null,"topics":["crud","laravel52","mvc","mysql8","nginx","php72"],"latest_commit_sha":null,"homepage":"https://www.udemy.com/course/php-with-laravel-for-beginners-become-a-master-in-laravel/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kento75.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-02-22T11:51:08.000Z","updated_at":"2020-03-02T22:24:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"3738ddc5-927e-492a-b128-8cc40a68aa24","html_url":"https://github.com/Kento75/php-with-laravel-for-beginners","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kento75/php-with-laravel-for-beginners","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento75%2Fphp-with-laravel-for-beginners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento75%2Fphp-with-laravel-for-beginners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento75%2Fphp-with-laravel-for-beginners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento75%2Fphp-with-laravel-for-beginners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kento75","download_url":"https://codeload.github.com/Kento75/php-with-laravel-for-beginners/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kento75%2Fphp-with-laravel-for-beginners/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28884696,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:55:09.949Z","status":"ssl_error","status_checked_at":"2026-01-29T19:55:08.490Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["crud","laravel52","mvc","mysql8","nginx","php72"],"created_at":"2024-09-24T20:03:33.201Z","updated_at":"2026-01-29T21:01:48.163Z","avatar_url":"https://github.com/Kento75.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-with-laravel-for-beginners\n\n### Docker Laravel コマンド一覧\n\n```\n# Laravelアプリ作成\n# ※ docker-compose up -d の後に実行\n#   前もって /src/public は削除しておく\n$ docker-compose exec php composer create-project laravel/laravel=5.2.* src\n```\n\n```\n# 認証キー作成\n$ docker-compose exec php php /src/artisan key:generate\n\n# マイグレーション\n$ docker-compose exec php php /src/artisan migrate\n\n# コントローラ等の作成\ndocker-compose exec php php artisan make:XXXX XXXXXXXX\n\n# PHPUnitの実行\ndocker-compose exec php ./vendor/bin/phpunit --testdox\n```\n\n### DB コネクション設定\n\n```\n# /src/.env\n\nDB_CONNECTION=mysql\nDB_HOST=mysql        dockerサービス名で指定\nDB_PORT=3306\nDB_DATABASE=\u003cDB名\u003e\nDB_USERNAME=root\nDB_PASSWORD=root\n```\n\nNginx の参照ファイル、ディレクトリ変更\n\n```\n# \u003cプロジェクトルート\u003e/nginx/default.conf\n\nroot /src/public;  # ディレクトリ\n　　・\n　　・\nindex index.php index.html;  # 参照ファイル\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkento75%2Fphp-with-laravel-for-beginners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkento75%2Fphp-with-laravel-for-beginners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkento75%2Fphp-with-laravel-for-beginners/lists"}