A CodeIgniter 4 admin template with a dashboard already wired to login & permissions

Most CodeIgniter 4 admin templates are just HTML pages. The admin dashboard in the CI4 Starter Kit actually works: connected to authentication, roles & permissions, dynamic sidebar menus, an audit log, and a CRUD example with server-side grids. Just add your modules.

One-time payment · unlimited projects · In Indonesia? Lynk.id QRIS/VA

The real thing

Click a screenshot to enlarge it. The full demo video is on the main page.

An HTML template vs an admin panel that actually runs

Searching for a "CodeIgniter 4 admin template" usually ends with two options: an HTML dashboard theme that you have to split into CI4 layouts and views yourself, or a GitHub example that stops at a login page and one CRUD screen.

The hard part of an admin panel isn't how it looks. It's what sits behind it: who can open which menu, which buttons a role can see, and a record of who changed what. In the CI4 Starter Kit all of that is done and connected.

An admin dashboard, ready to use

  • Layout, header, and sidebar already split into CI4 views
  • DasarKode theme; change brand colours in one brand.css file
  • Responsive, comfortable on a phone
  • All libraries stored locally, no CDN

Dynamic menus per role

  • Sidebar & dashboard tiles follow the user's permissions
  • Pages, menus, and tiles managed from the admin UI
  • Add/edit/delete buttons follow CRUD permissions
  • One user can hold multiple roles

The data components you always need

  • bootstrap-table 1.27 grids: server-side paging, sort, search
  • Select2 4.0 on every dropdown automatically, AJAX included
  • Relative dates with Moment.js ("3 hours ago")
  • Excel (.xlsx) export with no extra library

Admin modules that already work

  • User management: activate, reset password & 2FA, unlock
  • Roles & permissions matrix
  • Audit log with before → after values
  • App, SMTP, and LDAP settings from the UI

How to add a new module to the admin panel

The example uses a made-up "invoices" module. The pattern is the same for any module.

  1. Copy the Products CRUD example

    Controller, model, views, and routes for Products are complete: list, filters, server-side pagination, validation, soft delete, and Excel export. Use it as the pattern for your module.

  2. Protect routes with a permission

    Every route uses the permission:<page>,<action> filter. $p() is just shorthand for it.

    $routes->get('invoices', 'Admin\Invoices::index', $p('invoices'));
    $routes->post('invoices', 'Admin\Invoices::store', $p('invoices', 'create'));
  3. Register the page & menu from the UI

    Add the page and its sidebar menu from the admin panel, then tick Create/Read/Update/Delete per role under Roles & Permissions. The menu appears for the right roles with no code changes.

  4. Use the ready-made grid

    Styling, icons, page size, and locale are preset. Just give it a data URL and columns.

    $('#grid').bootstrapTable({
        url: '<?= site_url('invoices/list') ?>', sidePagination: 'server', pagination: true, search: true,
        columns: [
            { field: 'NO', title: 'No.', sortable: true, formatter: App.formatters.text },
            { field: 'PAID_ON', title: 'Paid', formatter: App.formatters.relative } // "3 hours ago"
        ]
    });

A plain HTML admin template vs the CI4 Starter Kit

FeatureHTML templateCI4 Starter Kit
Responsive admin layout✓ Yes✓ Yes
Split into CI4 layouts & viewsYour job✓ Yes
Login, password reset, 2FA✕ No✓ Yes
Per-role sidebar menus, managed from the UI✕ No✓ Yes
CRUD buttons follow user permissions✕ No✓ Yes
Server-side grid + Excel export✕ No✓ Yes
Audit log✕ No✓ Yes
Documentation & supportRarely✓ Yes

Buy now on Gumroad

Common questions

Can I match the dashboard to my brand?

Yes. Brand colours live in a single brand.css file, and the app name and theme are set from the Settings menu. Every library is stored locally, so nothing depends on a CDN or an internet connection.

How is this different from a free admin template?

Free templates are usually just the look. What you pay for, once, is an admin dashboard already wired to the application foundation: login, 2FA, RBAC, dynamic menus, audit log, CRUD example, REST API, tests, and documentation.

Can I swap in a different admin theme?

Yes. Permission, menu, and audit logic lives in filters, controllers, and models, separate from the views. Changing the theme means adapting the layout and view files, not rewriting the logic.

Can I use it for client work?

Yes. One licence covers unlimited projects: personal, internal, client work, even the base of a SaaS product you sell. The only thing not allowed is reselling the source code itself as a template.