{"id":15093688,"url":"https://github.com/cryptedsnow/c4-hxh","last_synced_at":"2026-02-13T00:39:20.700Z","repository":{"id":220038004,"uuid":"726086932","full_name":"CryptedSnow/c4-hxh","owner":"CryptedSnow","description":"Simple CodeIgniter 4 application (codes in Portuguese).","archived":false,"fork":false,"pushed_at":"2025-03-06T23:50:18.000Z","size":339,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T02:51:12.910Z","etag":null,"topics":["codeigniter4","php","sql"],"latest_commit_sha":null,"homepage":"https://c4-hxh.crypted-snow.serv00.net/","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/CryptedSnow.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":"2023-12-01T14:05:35.000Z","updated_at":"2025-03-06T23:50:22.000Z","dependencies_parsed_at":"2024-02-17T23:25:11.788Z","dependency_job_id":"91f4f6ca-2ba2-4cbb-b083-00818963a71b","html_url":"https://github.com/CryptedSnow/c4-hxh","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.5,"last_synced_commit":"e4d2ed0fcddd73ceb378300ad6032023089eb316"},"previous_names":["iury189/c4-hxh","cryptedsnow/c4-hxh"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptedSnow%2Fc4-hxh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptedSnow%2Fc4-hxh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptedSnow%2Fc4-hxh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CryptedSnow%2Fc4-hxh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CryptedSnow","download_url":"https://codeload.github.com/CryptedSnow/c4-hxh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248536981,"owners_count":21120683,"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":["codeigniter4","php","sql"],"created_at":"2024-09-25T11:24:46.060Z","updated_at":"2026-02-13T00:39:20.673Z","avatar_url":"https://github.com/CryptedSnow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter 4 Application Starter\n\n## How to start?\n\n**First advice**: Verify if has `cache` folder inside of `writable` folder of application to avoid `PHP Fatal error:  Uncaught CodeIgniter\\Cache\\Exceptions\\CacheException: Cache unable to write to \"/address/CodeIgniter/c4-hxh/writable/cache/\". in /address/CodeIgniter/c4-hxh/vendor/codeigniter4/framework/system/Cache/Handlers/FileHandler.php:66`, see below to solve this:\n```\n# Verify your operating system and where you store the application (I'm using Ubuntu distro)\nuser@user:~$ cd ~/address/c4-hxh/writable\nuser@user:~/address/c4-hxh/writable$ mkdir cache\n```\n\n1 - Run the following command to install dependencies of repository (It's necessary `composer` installed).\n```\ncomposer install \n```\n\n2 - Create `.env` file using the command:\n```\nphp spark env \n```\n\nCase the `.env` has not been created, just create `.env` file manually in the project. After, it is necessary copy the details from this [link](https://github.com/codeigniter4/CodeIgniter4/blob/develop/env) in your `.env`.\n\n3 - Run the following command to generate `encryption.key` value of `.env`.\n```\nphp spark key:generate\n```\n\n4 - Change the following informations in `.env`:\n```\n# MySQL\ndatabase.default.hostname = 127.0.0.1\ndatabase.default.database = c4-hxh\ndatabase.default.username = root\ndatabase.default.password = \ndatabase.default.DBDriver = MySQLi\ndatabase.default.DBPrefix =\ndatabase.default.port = 3306\n\n# PostgreSQL\ndatabase.default.hostname = localhost\ndatabase.default.database = c4-hxh\ndatabase.default.username = postgres\ndatabase.default.password = \ndatabase.default.DBDriver = Postgre\ndatabase.default.DBPrefix =\ndatabase.default.port = 5432\n```\n\n5 - Add the command to create the migrations:\n```\nphp spark migrate\n```\n\n6 - When executing the migrations, is necessary use the commands to create some populated tables to some selection fields at forms.\n```\nphp spark db:seed\n\n# Following you need specify the seeders (You must specify each one in turn, so is necessary execute php spark db:seed for choose the seeder file)\n- TipoHunterSeeder\n- TipoNenSeeder\n- TipoSanguineoSeeder\n```\n\n7 - Run the application.\n```\nphp spark serve\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptedsnow%2Fc4-hxh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptedsnow%2Fc4-hxh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptedsnow%2Fc4-hxh/lists"}