{"id":14987386,"url":"https://github.com/musheabdulhakim/ci4_build-your-first-app-docs-tutorial","last_synced_at":"2026-01-04T08:07:58.630Z","repository":{"id":104205039,"uuid":"335226320","full_name":"MusheAbdulHakim/Ci4_build-your-first-app-docs-tutorial","owner":"MusheAbdulHakim","description":"This is a compilation of 'Build Your First Application'  section of the codeigniter docs. Clone it to get started with codeigniter","archived":false,"fork":false,"pushed_at":"2023-10-30T15:24:10.000Z","size":802,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-26T13:28:48.655Z","etag":null,"topics":["ci4","codeigniter","codeigniter-template","codeigniter4","codeigniter4-documentation"],"latest_commit_sha":null,"homepage":"https://codeigniter.com/user_guide/tutorial/index.html","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/MusheAbdulHakim.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-02-02T08:56:05.000Z","updated_at":"2023-07-08T17:55:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"be1950a5-89c7-4681-9858-244cac3c758f","html_url":"https://github.com/MusheAbdulHakim/Ci4_build-your-first-app-docs-tutorial","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"a209b108a963c697db13f698e2f4ecde795fc6e4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCi4_build-your-first-app-docs-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCi4_build-your-first-app-docs-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCi4_build-your-first-app-docs-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MusheAbdulHakim%2FCi4_build-your-first-app-docs-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MusheAbdulHakim","download_url":"https://codeload.github.com/MusheAbdulHakim/Ci4_build-your-first-app-docs-tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244852110,"owners_count":20521151,"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":["ci4","codeigniter","codeigniter-template","codeigniter4","codeigniter4-documentation"],"created_at":"2024-09-24T14:14:32.390Z","updated_at":"2026-01-04T08:07:58.577Z","avatar_url":"https://github.com/MusheAbdulHakim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n1. Clone the repository\n    ```\n    git clone https://github.com/MusheAbdulHakim/Ci4_build-your-first-app-docs-tutorial.git ci-news\n    ```\n2. Go into the project directory\n    ```\n    cd ci-news\n    ```\n3. Install the composer dependencies\n    ```\n    composer install\n    ```\n4. Copy and rename the env file to '.env'\n    ```\n    cp env .env\n    ```\n5. Set your database credentials and import the sql file inside **Database backup** directory\n    ```\n    database.default.hostname = localhost\n    database.default.database = ci4_news\n    database.default.username = root\n    database.default.password = \n    database.default.DBDriver = MySQLi\n    database.default.DBPrefix =\n    database.default.port = 3306\n    ```\n6. Start the development server\n    ```\n    php spark serve\n    ```\n\n# CodeIgniter 4 Application Starter\n\n## What is CodeIgniter?\n\nCodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure.\nMore information can be found at the [official site](https://codeigniter.com).\n\nThis repository holds a composer-installable app starter.\nIt has been built from the\n[development repository](https://github.com/codeigniter4/CodeIgniter4).\n\nMore information about the plans for version 4 can be found in [CodeIgniter 4](https://forum.codeigniter.com/forumdisplay.php?fid=28) on the forums.\n\nThe user guide corresponding to the latest version of the framework can be found\n[here](https://codeigniter4.github.io/userguide/).\n\n## Installation \u0026 updates\n\n`composer create-project codeigniter4/appstarter` then `composer update` whenever\nthere is a new release of the framework.\n\nWhen updating, check the release notes to see if there are any changes you might need to apply\nto your `app` folder. The affected files can be copied or merged from\n`vendor/codeigniter4/framework/app`.\n\n## Setup\n\nCopy `env` to `.env` and tailor for your app, specifically the baseURL\nand any database settings.\n\n## Important Change with index.php\n\n`index.php` is no longer in the root of the project! It has been moved inside the *public* folder,\nfor better security and separation of components.\n\nThis means that you should configure your web server to \"point\" to your project's *public* folder, and\nnot to the project root. A better practice would be to configure a virtual host to point there. A poor practice would be to point your web server to the project root and expect to enter *public/...*, as the rest of your logic and the\nframework are exposed.\n\n**Please** read the user guide for a better explanation of how CI4 works!\n\n## Repository Management\n\nWe use GitHub issues, in our main repository, to track **BUGS** and to track approved **DEVELOPMENT** work packages.\nWe use our [forum](http://forum.codeigniter.com) to provide SUPPORT and to discuss\nFEATURE REQUESTS.\n\nThis repository is a \"distribution\" one, built by our release preparation script.\nProblems with it can be raised on our forum, or as issues in the main repository.\n\n## Server Requirements\n\nPHP version 7.4 or higher is required, with the following extensions installed:\n\n- [intl](http://php.net/manual/en/intl.requirements.php)\n- [mbstring](http://php.net/manual/en/mbstring.installation.php)\n\nAdditionally, make sure that the following extensions are enabled in your PHP:\n\n- json (enabled by default - don't turn it off)\n- [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL\n- [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\\CURLRequest library\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusheabdulhakim%2Fci4_build-your-first-app-docs-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmusheabdulhakim%2Fci4_build-your-first-app-docs-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmusheabdulhakim%2Fci4_build-your-first-app-docs-tutorial/lists"}