{"id":14987305,"url":"https://github.com/kenjis/ci4-for-000webhost","last_synced_at":"2025-07-27T18:03:47.804Z","repository":{"id":223424374,"uuid":"760285219","full_name":"kenjis/ci4-for-000webhost","owner":"kenjis","description":"CodeIgniter 4 for 000webhost.com","archived":false,"fork":false,"pushed_at":"2024-02-21T03:52:39.000Z","size":110,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-11T23:37:07.909Z","etag":null,"topics":["codeigniter4"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"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/kenjis.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":"2024-02-20T06:05:45.000Z","updated_at":"2024-03-14T11:19:28.000Z","dependencies_parsed_at":"2024-09-25T00:32:56.500Z","dependency_job_id":null,"html_url":"https://github.com/kenjis/ci4-for-000webhost","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"dec36b5de068fc9ee64b8e0ed7358c31aeddf2a1"},"previous_names":["kenjis/ci4-for-000webhostapp","kenjis/ci4-for-000webhost"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kenjis/ci4-for-000webhost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci4-for-000webhost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci4-for-000webhost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci4-for-000webhost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci4-for-000webhost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenjis","download_url":"https://codeload.github.com/kenjis/ci4-for-000webhost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fci4-for-000webhost/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267399972,"owners_count":24081175,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["codeigniter4"],"created_at":"2024-09-24T14:14:25.131Z","updated_at":"2025-07-27T18:03:47.726Z","avatar_url":"https://github.com/kenjis.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter 4 for 000webhost.com\n\n## Restrictions\n\nThe `putenv()` function cannot be used on 000webhost.com. So DotEnv (`.env`)\ndoes not work on the 000webhost.com servers.\n\nIf you want to set environment variables, use `public_html/.htaccess`:\n\n```\nSetEnv CI_ENVIRONMENT development\n```\n\n### Disabled Functions\n\nThe following functions are disabled on 000webhost.com.\n\nmail, putenv, system, show_source, exec, shell_exec, proc_open, passthru,\nset_time_limit, ini_restore, mysql_list_dbs, ini_alter, dl, pfsockopen, openlog,\nsyslog, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate,\napache_getenv, apache_note, apache_setenv, virtual, mb_send_mail\n\n## Folder Structure\n\nUpload your project files to the `foo.000webhostapp.com` folder.\n\nUpload the contents of the project's `public` folder to `pubic_html`.\n\nOn the 000webhost:\n```\n    ├── foo.000webhostapp.com/ (for the application)\n    │       ├── app/\n    │       ├── vendor/\n    │       └── writable/\n    └── public_html/           (for the public folder)\n            ├── .htaccess\n            ├── favicon.ico\n            ├── index.php\n            └── robots.txt\n```\n\n## Uploading\n\n### Installing Composer packages\n\nThe following command installs Composer packages for the production environment:\n\n```\n$ composer install --no-dev\n```\n\n### Uploading the project\n\nCreate a folder on the server with the hostname (e.g., `foo.000webhostapp.com`)\nand upload the files in the project folder.\n\nThe following folders are required to run the application.\n\n```\napp/\nvendor/\nwritable/\n```\n\nThe following command creates a Zip file in the directory where the project \nfolder (`ci4-for-000webhost`) is located:\n\n```console\n$ bin/make-zip.sh\n```\n\nUpload the Zip file with your File Manager.\n\nI used `Unzipper` because the Zip file I uploaded to the server could not be \nextracted by the File Manager.\n\nUnzipper\n- https://youtu.be/NBvg6JJtzDo?si=7YHtZtc4mIAO52y0\n- https://github.com/ndeet/unzipper\n\n### Uploading public folder\n\nUpload the all files except `.htaccess` in `ci4-for-000webhost/public` to\nthe server's `public_html` folder.\n\nOpen `.htaccess` on the File Manager, and add the contents in `public/.htaccess`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fci4-for-000webhost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenjis%2Fci4-for-000webhost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fci4-for-000webhost/lists"}