{"id":13746054,"url":"https://github.com/kenjis/codeigniter-composer-installer","last_synced_at":"2025-05-16T04:00:19.768Z","repository":{"id":30931948,"uuid":"34489933","full_name":"kenjis/codeigniter-composer-installer","owner":"kenjis","description":" Installs the offical CodeIgniter 3 with secure folder structure via Composer","archived":false,"fork":false,"pushed_at":"2023-05-24T02:25:59.000Z","size":53,"stargazers_count":377,"open_issues_count":3,"forks_count":118,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-05-10T01:06:37.548Z","etag":null,"topics":["codeigniter","codeigniter3","composer","hacktoberfest","installer"],"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.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2015-04-24T00:57:59.000Z","updated_at":"2025-01-29T19:30:21.000Z","dependencies_parsed_at":"2022-08-27T00:10:37.882Z","dependency_job_id":"1ddb4d8a-fc33-4fa4-b413-6a99ceff4aea","html_url":"https://github.com/kenjis/codeigniter-composer-installer","commit_stats":{"total_commits":81,"total_committers":7,"mean_commits":"11.571428571428571","dds":"0.12345679012345678","last_synced_commit":"ccab258822029d9809791059e897296fa8288ee9"},"previous_names":[],"tags_count":25,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fcodeigniter-composer-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fcodeigniter-composer-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fcodeigniter-composer-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kenjis%2Fcodeigniter-composer-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kenjis","download_url":"https://codeload.github.com/kenjis/codeigniter-composer-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254464890,"owners_count":22075570,"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":["codeigniter","codeigniter3","composer","hacktoberfest","installer"],"created_at":"2024-08-03T06:00:44.867Z","updated_at":"2025-05-16T04:00:19.563Z","avatar_url":"https://github.com/kenjis.png","language":"PHP","readme":"# CodeIgniter Composer Installer\n\n[![Latest Stable Version](https://poser.pugx.org/kenjis/codeigniter-composer-installer/v/stable)](https://packagist.org/packages/kenjis/codeigniter-composer-installer) [![Total Downloads](https://poser.pugx.org/kenjis/codeigniter-composer-installer/downloads)](https://packagist.org/packages/kenjis/codeigniter-composer-installer) [![Latest Unstable Version](https://poser.pugx.org/kenjis/codeigniter-composer-installer/v/unstable)](https://packagist.org/packages/kenjis/codeigniter-composer-installer) [![License](https://poser.pugx.org/kenjis/codeigniter-composer-installer/license)](https://packagist.org/packages/kenjis/codeigniter-composer-installer)\n\nThis package installs the offical [CodeIgniter](https://github.com/bcit-ci/CodeIgniter) (version `3.1.*`) with secure folder structure via Composer.\n\nYou can update CodeIgniter system folder to latest version with one command.\n\n## Folder Structure\n\n```\ncodeigniter/\n├── application/\n├── composer.json\n├── composer.lock\n├── public/\n│   ├── .htaccess\n│   └── index.php\n└── vendor/\n    └── codeigniter/\n        └── framework/\n            └── system/\n```\n\n## Requirements\n\n* PHP 5.3.7 or [later](https://www.php.net/supported-versions.php)\n* `composer` command (See [Composer Installation](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx))\n* Git\n\n## How to Use\n\n### Install CodeIgniter\n\n```\n$ composer create-project kenjis/codeigniter-composer-installer codeigniter\n```\n\nAbove command installs `public/.htaccess` to remove `index.php` in your URL. If you don't need it, please remove it.\n\nAnd it changes `application/config/config.php`:\n\n~~~\n$config['composer_autoload'] = FALSE;\n↓\n$config['composer_autoload'] = realpath(APPPATH . '../vendor/autoload.php');\n~~~\n\n~~~\n$config['index_page'] = 'index.php';\n↓\n$config['index_page'] = '';\n~~~\n\n#### Install Translations for System Messages\n\nIf you want to install translations for system messages:\n\n```\n$ cd /path/to/codeigniter\n$ php bin/install.php translations 3.1.0\n```\n\n#### Install Third Party Libraries\n\n[Codeigniter Matches CLI](https://github.com/avenirer/codeigniter-matches-cli):\n\n```\n$ php bin/install.php matches-cli master\n```\n\n[CodeIgniter HMVC Modules](https://github.com/jenssegers/codeigniter-hmvc-modules):\n\n```\n$ php bin/install.php hmvc-modules master\n```\n\n[Modular Extensions - HMVC](https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc):\n\n```\n$ php bin/install.php modular-extensions-hmvc codeigniter-3.x\n```\n\n[Ion Auth](https://github.com/benedmunds/CodeIgniter-Ion-Auth):\n\n```\n$ php bin/install.php ion-auth 2\n```\n\n[CodeIgniter3 Filename Checker](https://github.com/kenjis/codeigniter3-filename-checker):\n\n```\n$ php bin/install.php filename-checker master\n```\n\n[CodeIgniter Rest Server](https://github.com/chriskacerguis/codeigniter-restserver):\n\n```\n$ php bin/install.php restserver 2.7.2\n```\n[CodeIgniter Developer Toolbar](https://github.com/JCSama/CodeIgniter-develbar):\n\n```\n$ php bin/install.php codeigniter-develbar master\n```\n\n### Run PHP built-in server (PHP 5.4 or later)\n\n```\n$ cd /path/to/codeigniter\n$ bin/server.sh\n```\n\n### Update CodeIgniter\n\n```\n$ cd /path/to/codeigniter\n$ composer update\n```\n\nYou must update files manually if files in `application` folder or `index.php` change. Check [CodeIgniter User Guide](http://www.codeigniter.com/user_guide/installation/upgrading.html).\n\n## Reference\n\n* [Composer Installation](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx)\n* [CodeIgniter](https://github.com/bcit-ci/CodeIgniter)\n* [Translations for CodeIgniter System](https://github.com/bcit-ci/codeigniter3-translations)\n\n## Related Projects for CodeIgniter 3.x\n\n* [Cli for CodeIgniter 3.0](https://github.com/kenjis/codeigniter-cli)\n* [ci-phpunit-test](https://github.com/kenjis/ci-phpunit-test)\n* [CodeIgniter Simple and Secure Twig](https://github.com/kenjis/codeigniter-ss-twig)\n* [CodeIgniter Doctrine](https://github.com/kenjis/codeigniter-doctrine)\n* [CodeIgniter Deployer](https://github.com/kenjis/codeigniter-deployer)\n* [CodeIgniter3 Filename Checker](https://github.com/kenjis/codeigniter3-filename-checker)\n* [CodeIgniter Widget (View Partial) Sample](https://github.com/kenjis/codeigniter-widgets)\n","funding_links":[],"categories":["Installer"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fcodeigniter-composer-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkenjis%2Fcodeigniter-composer-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkenjis%2Fcodeigniter-composer-installer/lists"}