ci4admin boilerplate

CodeIgniter 4 admin panel with Eloquent and Blade Template Engine. This application includes authentication, Json Web Token and Defender as roles & permissions.

CodeIgniter 4 Application Starter

What is CodeIgniter?

CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure.
More information can be found at the official site.

This repository holds a composer-installable app starter.
It has been built from the
development repository.

More information about the plans for version 4 can be found in the announcement on the forums.

The user guide corresponding to this version of the framework can be found
here.

Installation

$ composer Install
$ npm install && npm run dev #optional

Setup

Copy env to .env and tailor for your app, specifically the baseURL
and any database settings.

$ php spark migrate
$ php spark serve

Seeding

$ php spark db:seed InitSeeder # to seed the default permissions & roles
$ php spark db:seed UserSeeder # to seed the default user

Login

Login using default account username [email protected] & password password

Defender

Defender is an Access Control List (ACL) Solution for Laravel 5 / 6 / 7 (single auth). (Not compatible with multi-auth).

Warning

  • Ini aku gunakan untuk belajar, do not use in prod.
  • Reset JWT token only work in https only
  • For more information, DYOR!

Inspires