v1.0 · available now · free updates

CI4 Starter Kit: CodeIgniter 4 source code with auth & RBAC Stop building login and permissions from scratch. Start from your core features.

A finished CodeIgniter 4 foundation: multi-role login, 2FA, RBAC with dynamic menus, audit log, and a REST API with JWT. Download it today, run it in minutes, and spend your time on the features that actually matter.

Pay by card or PayPal on Gumroad (or QRIS/VA via Lynk.id in Indonesia). Your download link is emailed instantly.

  • One-time payment, unlimited projects
  • Docs in English & Indonesian
  • Help until it runs
  • 35+ready-made features
  • 2–4 weeksof groundwork skipped
  • Pay onceno monthly fees
  • EN & IDfull documentation
Sound familiar?

Every new project, the same work all over again

Projects rarely run late because of the main features. They run late because the foundation has to be rebuilt every single time.

The first week goes to login

Login forms, password resets, sessions, validation. Essential, yet it never impresses a client, a manager, or a lecturer.

Permissions patched with if-else

Role checks are scattered across controllers and views. Adding one new role means combing through dozens of files.

No trail of who changed what

When someone asks "who deleted this record?", the answer is a guess.

The API always comes last

The mobile or frontend team needs endpoints, but API auth doesn't exist yet and there are no docs.

Free starters stop halfway

GitHub examples often end at basic CRUD. When something breaks, there are no docs and nobody to ask.

Security is an afterthought

CSRF, rate limiting, and password hashing get checked during code review or a project defense. Usually too late.

Do the math

Building the foundation yourself10–20 working days

That's 2–4 weeks of paid time on every project, spent on work your users will never see.

Using the CI4 Starter KitOne-time payment

One-time, for every project after this. Up and running in minutes with docker compose up, then straight to your core features.

The fix

A foundation that's finished, clean, and documented

You're not buying snippets. You're buying time: all of the groundwork above is done before you write your first line.

Without a starter kit

  • Wiring up login, password reset, and 2FA yourself
  • Hard-coded permissions and hand-managed menus
  • No record of who changed what
  • API and docs built "if there's time"
  • Server and database setup repeated for every project
  • Switching to PostgreSQL or SQL Server means rewriting queries

With the CI4 Starter Kit

  • Full authentication ready on day one
  • Roles & permissions managed from the UI, menus adapt automatically
  • Every change logged: who, what, when, and IP
  • REST API + JWT with Swagger, ready for other teams
  • One codebase runs on MySQL, PostgreSQL, or SQL Server
  • docker compose up, sign in with a demo account, get to work

Buy Now

What's inside

Everything inside this CodeIgniter 4 source code

Every module already runs, connects to the others, and is documented. Not a pile of snippets for you to assemble.

Complete authentication

A secure front door you never have to rewrite.

  • Login with username or email
  • Forgot & reset password via email (single-use token)
  • Optional TOTP 2FA (Google Authenticator) + recovery codes
  • Per-IP rate limiting & automatic account lockout
  • Forced password change on first login
  • CSRF, XSS escaping, security headers, HttpOnly cookies, bcrypt

Granular RBAC + dynamic menus

Add a new role in seconds, without touching code.

  • Create / Read / Update / Delete permissions per page
  • One user can hold multiple roles
  • Sidebar & dashboard tiles adapt to the role
  • Route filters + UI buttons follow permissions
  • Pages, sidebar menus & tiles managed from the admin UI

Users + audit log

Always know who changed what, when, and from where.

  • Register, activate/deactivate, reset password & 2FA, unlock
  • Profile photo + crop, Excel export
  • Login As User (impersonate) + Superadmin account protection
  • Audit log: who, what, when, IP, before → after values
  • Filter audit by user/module/date + export

CRUD example to copy

A pattern you can reuse for every new module.

  • List, filters, search, sorting
  • Server-side pagination
  • Form validation + soft delete
  • Excel export (.xlsx) with no extra library

REST API + JWT

Mobile and frontend teams can start right away.

  • JWT access tokens + rotating refresh tokens
  • API uses the same RBAC matrix as the web app
  • OpenAPI docs / Swagger UI
  • Postman collection + CORS ready for SPAs

Multi-database

One codebase, whichever database your client runs.

  • MySQL / MariaDB (default)
  • PostgreSQL 12+
  • SQL Server 2019+
  • Migrations & seeders adapt to the engine automatically
  • Full test suite passes on all three

LDAP & settings from the UI

Change app configuration without editing files.

  • LDAP / Active Directory login (optional)
  • App name, theme, security, SMTP email
  • LDAP & SMTP secrets stored encrypted
  • Help Center (rich-text articles / PDFs + categories)
  • "What's New" change log

Ready-to-Use Admin Dashboard

A clean, responsive admin interface that adapts easily to your brand identity.

  • bootstrap-table grids (server-side, sort, search)
  • Automatic Select2 dropdowns (AJAX included)
  • Relative dates with Moment.js
  • Brand colors live in a single CSS file
  • All libraries bundled locally, no CDN

Docker, tests & docs

From download to login in minutes.

  • Docker compose (PHP, MySQL, Mailpit)
  • .env.example + demo seed (6 multi-role accounts)
  • Health check endpoint for monitoring
  • PHPUnit tests (unit + feature) + security checklist
  • README & install guides in EN + ID
  • Illustrated PDF tutorials: with & without Docker

What's in the package

ci4-starter-kit/
├── app/            controllers, models, RBAC filters
├── public/         web root (cPanel-ready)
├── tests/          PHPUnit
├── tutorial/       illustrated PDF guides
├── docs/
│   ├── INSTALL.en.md
│   ├── INSTALL.id.md
│   ├── SECURITY-CHECKLIST.md
│   └── openapi.yaml
├── docker-compose.yml
├── .env.example
└── README.md

Requirements

  • FrameworkCodeIgniter 4.7
  • PHP8.2+ (intl, mbstring, mysqli, zip, gd)
  • DatabaseMySQL 5.7+ / MariaDB 10.4+ / PostgreSQL 12+ / SQL Server 2019+
  • ToolsComposer 2
  • ServercPanel shared hosting, VPS, or Docker
Everything above, one-time payment.

One license for personal, client, and SaaS projects. It pays for itself on your first project.

Get it now
See for yourself

See how it works before you buy

Sign in, set up roles, watch the menu adapt, check the audit log, then try the API.

Try it now, no install

Sign in to the demo with any account and watch the menu change with the role. The demo is read-only.

Accounts
superadminadminmanagerstaffviewer
Password
Password123
Open the live demo

Want to see a specific part first? Ask for a screenshot or screen recording of the feature you need.

Request a demo by email
How it works

From payment to coding in 4 steps

  1. Click Buy Now

    One license, every feature. No plans to compare.

  2. Pay

    Gumroad for card/PayPal, or Lynk.id for QRIS/VA in Indonesia.

  3. Get the download link

    Emailed automatically, together with your receipt.

  4. Run it & start coding

    Follow the README, docker compose up, sign in with a demo account.

Who it's for

Make sure it's the right fit

A great fit if…

  • You're a student who needs a well-built CodeIgniter 4 example for coursework, a final-year project, or your portfolio
  • You're a freelancer who wants to start client projects from a finished foundation
  • You're a developer setting up an internal app or admin dashboard
  • Your team needs the same code structure on every project

Not the right fit if…

  • You want a finished app to resell (POS, online store, etc.). This is a foundation, not an end product.
  • You don't want to touch code at all
  • Your project isn't built on PHP and CodeIgniter 4
Pricing

Pay once. A foundation for your next project.

One price, every feature, unlimited projects. Pay whichever way suits you.

  • Gumroad: card & PayPal
  • Lynk.id: QRIS & virtual account (ID)
  • Download link emailed instantly

Payments are processed directly by Gumroad and Lynk.id. DasarKode never sees your card details.

Read the full terms on the License page.

Still on the fence? That's fair.

Ask first, for free

Send any question before you buy. We usually reply the same day (GMT+7).

Help until it runs

Installation issues are handled by email until the app runs on your machine.

Free updates

Every fix and new feature throughout v1.x, at no extra cost.

Ask first by email

FAQ

Questions before you buy

I'm new to CodeIgniter 4. Can I follow along?

Yes. The code follows a consistent MVC structure and the docs walk you through installation step by step. The CRUD example works as a pattern for new modules. If you get stuck during installation, you can ask by email.

Can I use it for coursework or a final-year project?

Yes. One license covers unlimited projects, including coursework and final-year projects. Use it as your foundation, then build the features you need.

How is this different from free starter kits on GitHub?

The CI4 Starter Kit is built for real-world projects: full RBAC with dynamic menus, audit log, REST API + JWT with OpenAPI docs, Docker, basic tests, a security checklist, and install guides in English and Indonesian. Everything is already wired together, and support is included.

Can I use it for client work or a SaaS?

Yes. One license covers unlimited projects: personal builds, internal apps, client projects, and the base of a SaaS you sell. The only thing not allowed is reselling or redistributing the source code as a starter kit.

How do I receive the source code after paying?

Once payment succeeds, Gumroad (or Lynk.id) automatically emails you the download link.

Does it run on shared hosting?

Yes. The CI4 Starter Kit runs on standard PHP + MySQL shared hosting, and the docs explain how to adjust the public folder. A Docker compose setup is included for development and VPS deployments.

Do I have to use MySQL? My client runs PostgreSQL / SQL Server.

No. MySQL/MariaDB is the default, but PostgreSQL 12+ and SQL Server 2019+ are supported too. Change DBDriver in .env and the migrations and seeders adapt to the engine automatically. The full test suite passes on MySQL, PostgreSQL 16, and SQL Server 2022.

Can users sign in with LDAP / Active Directory?

Yes, optionally. The LDAP/AD server is configured from the Settings menu inside the app, no code changes needed, and the bind password is stored encrypted. If you don't use it, login works with regular local accounts.

Do I get an official receipt?

Yes. Gumroad emails a receipt for every purchase, which you can submit for reimbursement if needed. Buyers in Indonesia can also pay through Lynk.id (QRIS or virtual account) and get a local proof of payment.

Are updates and support included?

Yes. Every fix and new feature throughout v1.x is free, plus installation help by email until your app is running. If a new major version (v2) ships later, buyers will hear about it first, including whether there is any upgrade fee. The version you bought stays yours to use forever.

I have another question. Who do I ask?

Email us at dasarkodekit@gmail.com. We usually reply the same day (GMT+7).

Your next project can start from the core features, not the login page.

One-time payment, for all your projects. Download today, run it in minutes, and get help until it's up and running.

  • One-time payment, unlimited projects
  • Docs in English & Indonesian
  • Help until it runs
CI4 Starter KitOne-time payment
Buy Now