{"id":15318398,"url":"https://github.com/appleboy/codeigniter-app","last_synced_at":"2025-08-18T19:05:55.464Z","repository":{"id":21138045,"uuid":"24440030","full_name":"appleboy/CodeIgniter-App","owner":"appleboy","description":"Integrate RESTfull API, Base Model, Ion Auth module and template module","archived":false,"fork":false,"pushed_at":"2014-12-02T03:14:56.000Z","size":969,"stargazers_count":35,"open_issues_count":0,"forks_count":20,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T20:39:31.561Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appleboy.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}},"created_at":"2014-09-25T02:08:37.000Z","updated_at":"2022-05-03T04:55:59.000Z","dependencies_parsed_at":"2022-08-28T08:52:49.361Z","dependency_job_id":null,"html_url":"https://github.com/appleboy/CodeIgniter-App","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2FCodeIgniter-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2FCodeIgniter-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2FCodeIgniter-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appleboy%2FCodeIgniter-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appleboy","download_url":"https://codeload.github.com/appleboy/CodeIgniter-App/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248993424,"owners_count":21195198,"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-10-01T08:59:56.758Z","updated_at":"2025-04-15T02:28:39.265Z","avatar_url":"https://github.com/appleboy.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CodeIgniter App\n\nIntegrate RESTfull API, Base Model, Ion Auth module and Template module.\n\n## Features\n\n* [CodeIgniter-Ion-Auth][1]: Simple and Lightweight Auth System for CodeIgniter\n* [Codeigniter-restserver][2]: A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.\n* [codeigniter-base-model][3]: CodeIgniter base CRUD model to remove repetition and increase productivity\n* [CodeIgniter-Template][4]: A Lightweight Codeigniter Template Libray\n* [CodeIgniter-i18n][5]: i18n library for CodeIgniter 2.1.x\n* [CodeIgniter-Native-Session][6]: codeigniter native session\n* [Handlebars.js][7]: Minimal Templating on Steroids\n\n[1]: https://github.com/benedmunds/CodeIgniter-Ion-Auth\n[2]: https://github.com/chriskacerguis/codeigniter-restserver\n[3]: https://github.com/appleboy/Codeigniter-Base-Model\n[4]: https://github.com/appleboy/CodeIgniter-Template\n[5]: https://github.com/appleboy/CodeIgniter-i18n\n[6]: https://github.com/appleboy/CodeIgniter-Native-Session\n[7]: http://handlebarsjs.com/\n\n## Installtaion\n\nadd new virtual hostname on `hosts` file (`/etc/hosts`)\n\n```\n127.0.0.1 ci.localhost\n```\n\n[Apache](http://httpd.apache.org/): create `.htaccess`.\n\n```\nRewriteEngine on\nRewriteBase /\nRewriteCond $1 !^(index\\.php|assets|robots\\.txt|$)\nRewriteRule ^(.*)$ index.php/$1 [L,QSA]\n```\n\n[Nginx](http://nginx.org/): please add the following to virtualhost config.\n\n```\nlocation / {\n  try_files $uri $uri/ /index.php;\n}\n```\n\nImport the SQL structure\n\n```\n$ mysql -u root -p app \u003c sql/app.sql\n```\n\n## Installtaion with [Homestead](http://laravel.com/docs/4.2/homestead)\n\nPlease read [Chinese Blog](http://blog.wu-boy.com/2014/12/codeigniter-with-homestead-development/) or refer the following steps.\n\nClone the project init `/home/git` foloder.\n\n```bash\n$ git clone https://github.com/appleboy/CodeIgniter-App.git /home/git/CodeIgniter-App\n```\n\nUpdate `~/.homestead/Homestead.yaml` setting.\n\n```ruby\nfolders:\n  - map: /home/appleboy/newProject\n    to: /home/vagrant/Code\n  - map: /home/git/CodeIgniter-App\n    to: /home/vagrant/codeigniter-app\n \nsites:\n  - map: homestead.app\n    to: /home/vagrant/Code/public\n  - map: codeigniter.app\n    to: /home/vagrant/codeigniter-app/public\n \ndatabases:\n  - homestead\n  - app\n```\n\nUpdate `after.sh` as the following:\n\n```\n#!/bin/sh\n \n# If you would like to do some extra provisioning you may\n# add any commands you wish to this file and they will\n# be run after the Homestead machine is provisioned.\n \nmysql -uhomestead -psecret app \u003c /home/vagrant/codeigniter-app/sql/app.sql\n```\n\nStart the virtual machine.\n\n```\n$ homestead up --provision\n```\n\nopen youre browser url: http://codeigniter.app:8000\n## Screenshot\n\n\u003cimg src=\"https://raw.githubusercontent.com/appleboy/CodeIgniter-App/master/screenshot/screenshot.png\" alt=\"screenshot\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fcodeigniter-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappleboy%2Fcodeigniter-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappleboy%2Fcodeigniter-app/lists"}