{"id":20684073,"url":"https://github.com/codeigniter4projects/website","last_synced_at":"2025-08-22T05:31:07.515Z","repository":{"id":37083762,"uuid":"301936924","full_name":"codeigniter4projects/website","owner":"codeigniter4projects","description":"CodeIgniter Website","archived":false,"fork":false,"pushed_at":"2024-12-09T11:32:45.000Z","size":5083,"stargazers_count":25,"open_issues_count":11,"forks_count":24,"subscribers_count":9,"default_branch":"develop","last_synced_at":"2024-12-12T11:04:14.203Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codeigniter4projects.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-07T05:34:53.000Z","updated_at":"2024-09-09T12:06:52.000Z","dependencies_parsed_at":"2024-11-16T22:19:04.221Z","dependency_job_id":"3887f34c-e198-4f5f-a5c8-39892992c64e","html_url":"https://github.com/codeigniter4projects/website","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4projects%2Fwebsite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4projects%2Fwebsite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4projects%2Fwebsite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeigniter4projects%2Fwebsite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeigniter4projects","download_url":"https://codeload.github.com/codeigniter4projects/website/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230561013,"owners_count":18245324,"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":[],"created_at":"2024-11-16T22:18:57.314Z","updated_at":"2024-12-20T09:06:32.102Z","avatar_url":"https://github.com/codeigniter4projects.png","language":"PHP","readme":"# CodeIgniter Website\n\n[![](https://github.com/codeigniter4projects/website/workflows/PHPUnit/badge.svg)](https://github.com/codeigniter4projects/website/actions/workflows/phpunit.yml)\n[![](https://github.com/codeigniter4projects/website/workflows/PHPStan/badge.svg)](https://github.com/codeigniter4projects/website/actions/workflows/phpstan.yml)\n[![](https://github.com/codeigniter4projects/website/workflows/Deptrac/badge.svg)](https://github.com/codeigniter4projects/website/actions/workflows/deptrac.yml)\n[![Coverage Status](https://coveralls.io/repos/github/codeigniter4projects/website/badge.svg?branch=develop)](https://coveralls.io/github/codeigniter4projects/website?branch=develop)\n\nThis is the official website for the CodeIgniter PHP framework.\n\nThe website has been open-sourced in the interest of transparency.\nWe welcome issues and pull requests, to handle corrections.\nNew blog posts will not be accepted without prior authorization.\n\n## Implementation\n\nThe site has been built with CodeIgniter 4, and is meant to be an example\nof \"good\" programming style, although definitely not\nthe only way to do things.\n\nSome of the programming design decisions reflected:\n\n-   The `public` folder is the intended document root for the webapp.\n-   The architecture adheres more to the \"model-view-adapter\" convention,\n    where the view is unaware of the source of data and the model is unaware of\n    how any data might be presented. The controllers are go-betweens.\n-   A \"master template\" lets each controller focus\n    only with building its part of a webpage.\n-   A base controller takes care of assembling finished pages, using the\n    master template.\n-   Mock data for the recent news and most recently active threads, means\n    that the website can be tested locally, without needing access to\n    the live forum database.\n-   View fragments are used to style single \"records\" on their own,\n    improving cohesion.\n\n## Resources\n\n-  [User Guide](https://codeigniter.com/user_guide/index.html)\n-  [Community Forums](https://forum.codeigniter.com/)\n-  [Community Slack Channel](https://codeigniterchat.slack.com)\n\n## Server Requirements\n\nPHP version 8.1 or higher is required, with the following extensions installed:\n\n- [intl](https://php.net/manual/en/intl.requirements.php)\n- [libcurl](https://php.net/manual/en/curl.requirements.php) if you plan to use the `HTTP\\CURLRequest` library\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- [mbstring](https://php.net/manual/en/mbstring.installation.php)\n- [mysqlnd](https://php.net/manual/en/mysqlnd.install.php)\n- xml (enabled by default - don't turn it off)\n\n## Installation\n\nUse these steps to create a local installation for development and testing.\n\n1. Clone the repo: `git clone https://github.com/codeigniter4projects/website`\n2. Work in the repo directory: `cd website`\n3. Make sure the **writable** folder is accessible: `chmod -R 777 writable`\n4. Install dependencies: `composer install`\n5. Create your **.env** file: `cp env .env`\n6. Edit **.env** and set at least the following:\n    * `GITHUB_ACCESS_TOKEN = ghp_***`\n        * Set your GitHub Personal Access Token.\n    * `CI_ENVIRONMENT = development`\n    * `app.forceGlobalSecureRequests = false`\n    * `database.default.database = ../writable/database.db`\n    * `database.default.DBDriver = SQLite3`\n7. Seed fake Forum data\n\n    The website is intended to live on the same server as the forums, and uses the forum\n    database to pull in the most recent posts. When developing locally, this poses a challenge.\n    To make local development simpler, a migration and seed have been provided to setup a\n    table with some mock data that can be used in place of having a local MyBB install.\n\n    1. Migrate the database: `php spark migrate -all`\n    2. Run the seeder: `php spark db:seed ForumSeeder`\n\nAt this point you should have a usable version of the current code! Try launching it locally:\n\n1. From the repo directory start serving the website: `php spark serve`\n2. In your web browser of choice navigate to the local URL: `http://localhost:8080`\n\n\u003e **Note** The example commands above are for Linux-based systems. You may need to adjust for your operating system.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeigniter4projects%2Fwebsite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeigniter4projects%2Fwebsite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeigniter4projects%2Fwebsite/lists"}