{"id":20838287,"url":"https://github.com/takayyz/codeigniter_on_docker","last_synced_at":"2026-04-21T17:39:03.099Z","repository":{"id":110664257,"uuid":"325701838","full_name":"Takayyz/codeigniter_on_docker","owner":"Takayyz","description":"dev enviroment for codeigniter","archived":false,"fork":false,"pushed_at":"2021-01-04T08:20:06.000Z","size":513,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T09:44:22.051Z","etag":null,"topics":["codeigniter3","composer2","mysql57","nginx","php74-fpm","xdebug"],"latest_commit_sha":null,"homepage":"","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/Takayyz.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-12-31T03:11:42.000Z","updated_at":"2021-01-04T08:20:09.000Z","dependencies_parsed_at":"2023-05-01T09:00:25.317Z","dependency_job_id":null,"html_url":"https://github.com/Takayyz/codeigniter_on_docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Takayyz/codeigniter_on_docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Takayyz%2Fcodeigniter_on_docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Takayyz%2Fcodeigniter_on_docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Takayyz%2Fcodeigniter_on_docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Takayyz%2Fcodeigniter_on_docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Takayyz","download_url":"https://codeload.github.com/Takayyz/codeigniter_on_docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Takayyz%2Fcodeigniter_on_docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32102894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"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":["codeigniter3","composer2","mysql57","nginx","php74-fpm","xdebug"],"created_at":"2024-11-18T01:09:50.986Z","updated_at":"2026-04-21T17:39:03.092Z","avatar_url":"https://github.com/Takayyz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# codeigniter_on_docker\ndevelop enviroment for codeigniter\n\n## Version Info\n||ver|\n|---|---|\n|php|7.4|\n|CodeIgniter|3.1.11|\n|MySQL|5.7|\n\n\u003cbr\u003e\n\n## Xdebug + VSCode configuration\nxdebugの`remote_port`は`9010`を指定しています。  \nそのためVSCodeの`launch.json`を以下のように設定にします。\n### Example\n```json\n// launch.json\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Listen for XDebug\",\n      \"type\": \"php\",\n      \"request\": \"launch\",\n      \"port\": 9010,\n      \"pathMappings\": {\n        \"/var/www\": \"${workspaceFolder}/src\"\n      }\n    }\n  ]\n}\n```\n\n\u003cbr\u003e\n\n## Notes\n- migrationについて  \n  CodeIgniterではマイグレーション機能は存在しますが、マイグレーションファイルは**手動で作成**する必要があります。  \n  `application/config/migration.php`で`$config['migration_type'] = 'timestamp'`と指定している為マイグレーションファイルのprefixには作成日時を`YYYYMMDDHHIISS`のフォーマットで指定します。\n  ```\n  例)\n  20210101000000_create_users_table.php\n  ```  \n  また、マイグレーションファイルは`application/database/migrations`配下に作成してください。\n  - マイグレートの実行はappコンテナ内のDocumentrootディレクトリで下記コマンドを実行\n  ```sh\n  $ php index.php migrate\n  ```\n\n- profilerを表示するには、表示させたいメソッド内に以下を追記  \n  ```php\n  $this-\u003eoutput-\u003eenable_profiler(TRUE);\n  ```\n\n\u003cbr\u003e\n\n## TODO\n- dotenvを使用可能にする: [資料](https://pgmemo.tokyo/category/23/tag/CodeIgniter/)\n- CLIでmigrationファイル生成: [資料](http://blog.a-way-out.net/blog/2015/05/07/codeigniter-cli/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakayyz%2Fcodeigniter_on_docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakayyz%2Fcodeigniter_on_docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakayyz%2Fcodeigniter_on_docker/lists"}