Simple CRUD example using the new version of code igniter (4)
Make the clone of this repository
$ git clone https://github.com/mathmed/crud-codeigniter4.git
First of all, you need to configure your database database (eg. MySQL, MariaDB). Import the crud-codeigniter4/crudci4.sql
located in the project root in your database.
After do this, set your database config in crud-codeigniter4/app/config/Database.php
.
Check if you have the latest php version installed, if you have, go to project root and execute
$ php spark serve
your server will start on port 8080.
To access the project, type in your browser
http://localhost:8080
For details on how to use Code Igniter 4, visit the documentation.