PHPackages                             rebekz/codeigniter\_basic - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. rebekz/codeigniter\_basic

ActiveLibrary[Framework](/categories/framework)

rebekz/codeigniter\_basic
=========================

My Codeigniter 3 Basic Setup

1.0.0(10y ago)024JavaScriptPHP &gt;=5.3.2

Since Aug 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rebekz/codeigniter_basic)[ Packagist](https://packagist.org/packages/rebekz/codeigniter_basic)[ RSS](/packages/rebekz-codeigniter-basic/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (1)Used By (0)

Codeigniter Basic
=================

[](#codeigniter-basic)

Introduction
============

[](#introduction)

Repository ini untuk bahan membangun Web application berbasis PHP

Aplikasi ini menggunakan framework Codeigniter 3.0.1 modular dilengkapi dengan:

- Modular Extensions - HMVC ()
- Template library ()
- Assets library
- Avenirer's matches cli ()

Aplikasi ini dibagi dua bagian: backend dan frontend yang bisa diakses:

- frontend: [http://localhost/codeigniter\_basic/public/](http://localhost/codeigniter_basic/public/)
- backend: [http://localhost/codeigniter\_basic/public/admin/](http://localhost/codeigniter_basic/public/admin/)

Requirement:

1. PHP
2. MySQL
3. Codeigniter 3
4. Git

Installation
------------

[](#installation)

**Step 1**

- install dari composer

```
composer create-project -s:dev rebekz/codeigniter_basic codeigniter_basic

```

**Step 2**

- Edit file *index.php* di *public/* lalu rubah:

```
$assign_to_config['base_url']	= *url_local_anda/public/*

```

- Edit file *index.php* di *public/admin/* lalu rubah:

```
$assign_to_config['base_url']	= *url_admin_local_anda/public/admin/*

```

Structure
---------

[](#structure)

**Struktur aplikasi:**

```
    * public/admin
       *assets => untuk assets (js/css/img) backend/admin
    * public/assets => untuk assets (js/css/img) frontend
    * application
        * back-modules => untuk module/halaman backend/admin
        * front-modules => untuk module/halaman frontend
        * views
           *admin
              *view => untuk tampilan/template backend/admin
           *front
              *view => untuk tampilan/template frontend
        * libraries => untuk memasukan library
        * models => untuk memasukan models

```

**Struktur module/halaman**

Setiap module/halaman dibuat dengan membuat folder yang didalamnya ada folder **controllers, views**Contoh module/halaman *main*. Struktur folder-nya:

```
    * main
      * controllers => semua controllers untuk halaman main
      * views => semua view untuk halaman main

```

**Migration**

Untuk membuat schema database, bisa menggunakan fungsi migration di CI. untuk menambah/merubah schema database, buatlah suatu file di **applications/migrations/** folder dan dinamai dengan format YYYYMMDDHHIISS\_&lt;migration\_name&gt;.php, dimana YYYYMMDDHHIISS adalah timestamp (20121031100537) migration. untuk contoh file migration bisa lihat fie 20150829163413\_create\_users\_table.php.php

anda juga bisa generate file migration dengan menjalankan command

```
php public/index.php cli matches create:migration []

```

untuk jelasnya menggunakan migration bisa lihat tutorial :

untuk migrate schema database ke versi baru dengan perintah

```
php public/index.php cli matches do:migration

```

untuk mundur ke versi lama dengan perintah

```
php public/index.php cli matches undo:migration

```

**Generate module**

anda bisa membuat module baru melalui perintah

```
php public/index.php cli matches create:module [] module:[].[]

```

contoh:

```
php public/index.php cli matches create:module fitra module:back-modules.fitra

```

**Generate controller**

anda bisa generate controller baru melalui perintah

```
php public/index.php cli matches create:controller:module [] module:[].[]

```

contoh:

```
php public/index.php cli matches create:controller:module fitra module:back-modules.fitra

```

**Generate view**

anda bisa generate view baru melalui perintah

```
php public/index.php cli matches create:view:module [] module:[].[]

```

contoh:

```
php public/index.php cli matches create:view:module fitra module:back-modules.fitra

```

**Generate model**

anda bisa generate model baru melalui perintah

```
php public/index.php cli matches create:model []

```

contoh:

```
php public/index.php cli matches create:module fitra

```

*perintah lainnya bisa diliat di: *

Resources
---------

[](#resources)

Codeiginiter with composer:

Website template :

Dokumentasi Code Igniter:

Logs
----

[](#logs)

v.0.1 = initial upload

v.0.2 = nambah migration dan generate module

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3915d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d451b4cbacb5fbf23f7695c544aad11e293ac4eb1da24c6e64b7a2ed22661bda?d=identicon)[rebekz](/maintainers/rebekz)

---

Top Contributors

[![rebekz](https://avatars.githubusercontent.com/u/8528807?v=4)](https://github.com/rebekz "rebekz (8 commits)")

### Embed Badge

![Health badge](/badges/rebekz-codeigniter-basic/health.svg)

```
[![Health](https://phpackages.com/badges/rebekz-codeigniter-basic/health.svg)](https://phpackages.com/packages/rebekz-codeigniter-basic)
```

###  Alternatives

[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)[nette/bootstrap

🅱 Nette Bootstrap: the simple way to configure and bootstrap your Nette application.

68535.8M592](/packages/nette-bootstrap)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M343](/packages/drupal-core-recommended)[defstudio/pest-plugin-laravel-expectations

A plugin to add laravel tailored expectations to Pest

98548.9k4](/packages/defstudio-pest-plugin-laravel-expectations)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
