{"id":19236563,"url":"https://github.com/projek-xyz/ci-startapp","last_synced_at":"2025-04-21T05:32:27.491Z","repository":{"id":57045062,"uuid":"46112471","full_name":"projek-xyz/ci-startapp","owner":"projek-xyz","description":"Codeigniter 3 Application Starter Kit","archived":true,"fork":false,"pushed_at":"2020-10-19T18:03:06.000Z","size":1496,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T18:18:22.696Z","etag":null,"topics":["codeigniter"],"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/projek-xyz.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}},"created_at":"2015-11-13T09:24:35.000Z","updated_at":"2024-09-06T01:58:32.000Z","dependencies_parsed_at":"2022-08-24T04:11:11.479Z","dependency_job_id":null,"html_url":"https://github.com/projek-xyz/ci-startapp","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/projek-xyz%2Fci-startapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projek-xyz%2Fci-startapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projek-xyz%2Fci-startapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/projek-xyz%2Fci-startapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/projek-xyz","download_url":"https://codeload.github.com/projek-xyz/ci-startapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250002294,"owners_count":21359088,"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"],"created_at":"2024-11-09T16:21:27.844Z","updated_at":"2025-04-21T05:32:27.183Z","avatar_url":"https://github.com/projek-xyz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Codeigniter 3.x Application Starter Kit\n\n[![Build Status](https://magnum.travis-ci.com/feryardiant/ci-skeleton.svg?token=WqjEd4zrvPgAhQsuHzmE\u0026style=flat-square)](https://magnum.travis-ci.com/feryardiant/ci-skeleton)\n[![Gittip Donate](http://img.shields.io/gratipay/feryardiant.svg?style=flat-square)](https://www.gratipay.com/feryardiant/ \"Donate using Gittip\")\n[![PayPal Donate](https://img.shields.io/badge/paypal-donate-orange.svg?style=flat-square)](http://j.mp/1Qp9MUT \"Donate using Paypal\")\n\nCodeIgniter-based Project Starter Kit\n\n**NOTE**: This project is only used for my personal needs, but feel free to use it as yours.\n\n## Key Features\n\n1. **Testable** provided by [Fernando Piancastelli](http://github.com/fmalk/codeigniter-phpunit)\n1. **HMVC** provided by [Jens Segers](https://github.com/jenssegers/codeigniter-hmvc-modules)\n1. **Better CLI Interaction**\n1. Soon..\n\n## Prerequisites\n\n- PHP 5.5.x or newer.\n- HTTP Server, e.g. NginX or Apache either.\n- MySQL Server 5.x or newer for main database.\n- Redis Server for cache database.\n\n## Installation\n\nI've make this project available to install via [Composer](https://getcomposer.org/) with following command:\n\n```bash\n$ composer create-project -s dev projek-xyz/ci-startapp my-app\n```\n\nnow enter `my-app` directory you just create then copy and rename `env.txt` file to `.env` under **app** directory.\n\n```bash\n$ cp app/env.txt app/.env\n```\n\nthen edit contents of `app/.env` file as you wish. When everything is done, let's start the server.\n\n```bash\n$ php -S 0.0.0.0:8888 -t public public/index.php\n```\n\nNow, you should open [http://localhost:8888](http://localhost:8888) in your favorite web browser.\n\n**NOTE**: Make sure your Redis server already running.\n\n## Directory and File Structures\n\n* [**app**](app): Previously it is `application` directory defined with `APPPATH` constant. Inside it still remain the same as default CI APPPATH but without some _unused_ directories, which are **cache**, **hooks** and **third_party**.\n* [**asset**](asset): Containts source of static assets (sass, js and images).\n* [**asset/data**](asset/data): Containts migration files.\n* [**public**](public): This is the webroot of your application.\n* [**tests**](tests): Containts all tests units for your application.\n* [**creasi**](creasi): This is the command line interface for your application. You could use it to `install`, `migrate` database and so on.\n\n## Testing\n\nCurrently this project only use PHPUnit as testing framework, another framework like PHPSpec, Behat etc will be implemented soon. The PHPUnit configuration is located inside [tests](tests) directory, so you could run the tests with following command.\n\n```bash\n$ phpunit -c tests/phpunit.xml\n```\n\n**NOTE**: I only provide dummy tests, so you could create and use your own :grin:\n\n## Credits\n\n1. [CodeIgniter](http://codeigniter.com) and their contributors\n\n## Lisence\n\nMIT © [Fery Wardiyanto](http://feryardiant.me). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojek-xyz%2Fci-startapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojek-xyz%2Fci-startapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojek-xyz%2Fci-startapp/lists"}