{"id":15093614,"url":"https://github.com/asad-iftikhar/codeigniter4.5-restapi-docker-compose","last_synced_at":"2026-01-04T16:11:00.564Z","repository":{"id":240881243,"uuid":"803322366","full_name":"Asad-Iftikhar/codeigniter4.5-restapi-docker-compose","owner":"Asad-Iftikhar","description":"Dockerize the Codeigniter application with rest apis also implement the JWT authentication.  ","archived":false,"fork":false,"pushed_at":"2024-05-24T07:17:26.000Z","size":6953,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T11:41:49.331Z","etag":null,"topics":["api-rest","codeigniter","containers","docker","docker-compose","jwt-authentication","mysql-database","nginx"],"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/Asad-Iftikhar.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":"2024-05-20T13:57:57.000Z","updated_at":"2025-01-06T15:47:33.000Z","dependencies_parsed_at":"2024-10-14T05:41:41.177Z","dependency_job_id":"71f814cb-e212-4f63-a8a3-3008fdab28c3","html_url":"https://github.com/Asad-Iftikhar/codeigniter4.5-restapi-docker-compose","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":0.2222222222222222,"last_synced_commit":"1f9461baf878a86d25630ef0f70bbeaf2644787b"},"previous_names":["asad-iftikhar/codeigniter4.5-restapi-docker-compose"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asad-Iftikhar%2Fcodeigniter4.5-restapi-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asad-Iftikhar%2Fcodeigniter4.5-restapi-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asad-Iftikhar%2Fcodeigniter4.5-restapi-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Asad-Iftikhar%2Fcodeigniter4.5-restapi-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Asad-Iftikhar","download_url":"https://codeload.github.com/Asad-Iftikhar/codeigniter4.5-restapi-docker-compose/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244601319,"owners_count":20479440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api-rest","codeigniter","containers","docker","docker-compose","jwt-authentication","mysql-database","nginx"],"created_at":"2024-09-25T11:24:21.538Z","updated_at":"2026-01-04T16:11:00.536Z","avatar_url":"https://github.com/Asad-Iftikhar.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter 4.5.1, Rest API, Docker Compose\nInitial configuration for a project using Code Igniter 4.5, MySQL, Nginx and Docker\n\n## What the repository has\n\n* Code Igniter 4 - v4.5.1\n* Docker-compose start file\n* PHP 8.3-fpm/Latest\n* Nginx\n* PhpMyAdmin\n* MySQL\n\n## Getting start\n\nFirst make the clone of this repository\n```html\n$ git clone https://github.com/Asad-Iftikhar/codeigniter4.5-restapi-docker-compose.git\n```\n\nWith the repository ready, open the file `.env` located at the root and configure it according to your database host.\n\n\nGo to `codeigniter4.5-restapi-docker-compose/web/app/app/Config` and open the file `Database.php`. Change the database fields for them used in the `.env` file.\nOR\nUpdate the .env file inside web directory according to the root .env like database credentials\n\nAfter configuring the files, go to the root of the project and execute  \n\n\n### Add Sites Entry [https://YOUR_LOCAL_SITE_NAME]\n\nTo make your own local domain/host rename the codeigniter.conf name into folder below path\n\n```html\n$ cd codeigniter4.5-restapi-docker-compose/docker/nginx/\n```\ngive it your own local domain name as currently it will open at https://codeigniter\nYou also need to add this entry into your host file\n\n```html\n$ sudo nano /etc/hosts\n```\n\n`127.0.0.1 YOUR_LOCAL_SITE_NAME`\n\ndone, the application is ready for use.\n\n\n## Accessing\n\nTo access your project, type in your browser  \n```html\nhttp://YOUR_LOCAL_SITE_NAME\n```\n\nTo access the phpmyadmin, type in your browser  \n```html\nhttp://localhost:9191\n```\n\n### Container shell\n\nTo access a container shell, type in your terminal\n\n```html\n$ sudo docker exec -ti \u003ccontainer_id\u003e /bin/sh/\n```\n\n```html\n$ docker exec -it app-codeigniter4 sh\n```\n\n\n### Code Igniter 4 docs\n\nFor details on how to use Code Igniter 4, visit the [documentation](https://codeigniter4.github.io/userguide/index.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasad-iftikhar%2Fcodeigniter4.5-restapi-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasad-iftikhar%2Fcodeigniter4.5-restapi-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasad-iftikhar%2Fcodeigniter4.5-restapi-docker-compose/lists"}