This application is a starting point for creating a system because it was built using CodeIgniter 4 and is equipped with authentication so there is no need to bother creating it from scratch
- PHP 8 or later
- MySQL 8
- CodeIgniter 4 or higher
- A customized system inspired by the agungsugiarto/boilerplate project
- Dashboard admin template from Matrix Admin
- Using Server-side Datatables library from hermawanramadhan/CodeIgniter4-DataTables
- Using lonnieezell/myth-auth as system authentication
- Clone the project to your computer with the
git clone
command or download the code with the download zip. - Navigate to the project directory and install the project with the command
composer install
. - Copy
env
to.env
and customize it to suit your application, especially the baseURL and adjust the database naming and settings. - Run database migrations with the command
php spark migrate
. This command will create database tables according to the definitions in the migration files. - Then run the
php spark db:seed AllSeeder
command to input the data needed for the system to run. - Steps 4 and 5 can be replaced by directly importing the
db-auth.sql
file into the database. - Run the project with the command
php spark serve
. - Open your web browser and access the address
http://localhost:8080
.
If you want to change the system name, icon, footer, you can open app/config/App.php
public $appName = 'CodeIgniter';
public $theme = [
'logo' => [
'brand' => [
'icon' =>'/assets/images/logo-icon.png',
'width' => 25,
'height' => '',
'text' => '<strong>Code</strong>Igniter',
],
'favicon' => '/favicon.ico',
],
'footer' => [
'vendorname' => 'CodeIgniter',
'vendorlink' => 'https://www.codeigniter.com',
],
];
Username | Password |
---|---|
admin | super-admin |
user | super-user |
This project is licensed under the terms of the MIT license