├── app
├── Language
│ ├── .gitkeep
│ └── en
│ │ └── Validation.php
├── Libraries
│ └── .gitkeep
├── ThirdParty
│ └── .gitkeep
├── Views
│ ├── pages
│ │ ├── commons
│ │ │ ├── dashboard.php
│ │ │ ├── forbidden.php
│ │ │ ├── login.php
│ │ │ └── register.php
│ │ └── settings
│ │ │ └── role_access.php
│ ├── errors
│ │ ├── cli
│ │ │ ├── error_404.php
│ │ │ ├── production.php
│ │ │ └── error_exception.php
│ │ └── html
│ │ │ ├── production.php
│ │ │ ├── error_400.php
│ │ │ ├── error_404.php
│ │ │ ├── debug.js
│ │ │ └── debug.css
│ ├── layouts
│ │ ├── footer.php
│ │ ├── main.php
│ │ ├── header.php
│ │ └── sidebar.php
│ ├── widgets
│ │ └── users
│ │ │ ├── role_form_modal.php
│ │ │ └── user_form_modal.php
│ └── components
│ │ └── alerts.php
├── .htaccess
├── index.html
├── Config
│ ├── ForeignCharacters.php
│ ├── CURLRequest.php
│ ├── Images.php
│ ├── Publisher.php
│ ├── Honeypot.php
│ ├── Optimize.php
│ ├── Services.php
│ ├── Boot
│ │ ├── production.php
│ │ ├── development.php
│ │ └── testing.php
│ ├── Feature.php
│ ├── Pager.php
│ ├── Validation.php
│ ├── Routes.php
│ ├── Migrations.php
│ ├── Events.php
│ ├── Kint.php
│ ├── Generators.php
│ ├── View.php
│ ├── Format.php
│ ├── Modules.php
│ ├── Email.php
│ ├── Paths.php
│ ├── DocTypes.php
│ ├── Security.php
│ ├── Encryption.php
│ ├── Autoload.php
│ ├── Constants.php
│ ├── Cors.php
│ ├── Cookie.php
│ ├── Filters.php
│ ├── Routing.php
│ ├── Exceptions.php
│ ├── Toolbar.php
│ ├── ContentSecurityPolicy.php
│ ├── Session.php
│ ├── Cache.php
│ ├── Logger.php
│ └── Database.php
├── Controllers
│ ├── Home.php
│ ├── BaseController.php
│ └── Auth.php
├── Common.php
├── Helpers
│ ├── menu_helper.php
│ └── useraccess_helper.php
├── Database
│ ├── Migrations
│ │ ├── 2025-06-15-113925_Session.php
│ │ └── 2025-06-15-114014_UserManagement.php
│ └── Seeds
│ │ └── Users.php
└── Filters
│ ├── Authentication.php
│ └── Authorization.php
├── public
├── robots.txt
├── favicon.ico
├── assets
│ └── images
│ │ └── avatar.png
├── .htaccess
└── index.php
├── tests
├── .htaccess
├── index.html
├── session
│ └── ExampleSessionTest.php
├── _support
│ ├── Libraries
│ │ └── ConfigReader.php
│ ├── Models
│ │ └── ExampleModel.php
│ └── Database
│ │ ├── Migrations
│ │ └── 2020-02-22-222222_example_migration.php
│ │ └── Seeds
│ │ └── ExampleSeeder.php
├── database
│ └── ExampleDatabaseTest.php
├── unit
│ └── HealthTest.php
└── README.md
├── writable
├── .htaccess
├── index.html
├── cache
│ └── index.html
├── logs
│ └── index.html
├── session
│ └── index.html
└── uploads
│ └── index.html
├── .github
└── ISSUE_TEMPLATE
│ ├── feature_request.md
│ └── bug_report.md
├── LICENSE
├── composer.json
├── README.md
├── .gitignore
├── env
├── phpunit.xml.dist
├── spark
└── preload.php
/app/Language/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/Libraries/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/app/ThirdParty/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/public/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gilangheavy/CI4-StarterPanel/HEAD/public/favicon.ico
--------------------------------------------------------------------------------
/public/assets/images/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/gilangheavy/CI4-StarterPanel/HEAD/public/assets/images/avatar.png
--------------------------------------------------------------------------------
/app/Views/pages/commons/dashboard.php:
--------------------------------------------------------------------------------
1 | = $this->extend('layouts/main'); ?>
2 | = $this->section('content'); ?>
3 |
4 | = $this->endSection(); ?>
--------------------------------------------------------------------------------
/app/.htaccess:
--------------------------------------------------------------------------------
1 |
Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/logs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/session/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /writable/uploads/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |Directory access is forbidden.
9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/Config/ForeignCharacters.php: -------------------------------------------------------------------------------- 1 | data, [ 10 | 'title' => 'Dashboard Page' 11 | ]); 12 | return view('pages/commons/dashboard', $data); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /tests/session/ExampleSessionTest.php: -------------------------------------------------------------------------------- 1 | set('logged_in', 123); 15 | $this->assertSame(123, $session->get('logged_in')); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /tests/_support/Libraries/ConfigReader.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |= lang('Errors.weHitASnag') ?>
20 | 21 |76 | 77 | = nl2br(esc($message)) ?> 78 | 79 | = lang('Errors.sorryBadRequest') ?> 80 | 81 |
82 |76 | 77 | = nl2br(esc($message)) ?> 78 | 79 | = lang('Errors.sorryCannotFind') ?> 80 | 81 |
82 |35 | Sign in to your account to continue 36 |
37 |