Skip to content

Releases: icaluwu/Basic-CRUD-CodeIgniter4

Full Release as Template

Choose a tag to compare

@icaluwu icaluwu released this 09 Jul 09:10
002efd9

Basic-CRUD-CodeIgniter4

This code is made by @icaluwu,this release is the final release as a template for CRUD (still updates framework as security measures) using CodeIgniter 4 as Framework, Bootstrap as Library, PHP and MySQL. if there's anything wrong with my code you can request to me and give you access to edit my code.

Table of Contents

  • Features
  • Requirements
  • Installation
  • Configuration
  • Usage
  • Contributing
  • License

Features

  1. Create, Read, Update, and Delete records in a MySQL database.
  2. Simple and responsive UI built with Bootstrap.
  3. Lightweight and easy to set up.

Requirements

PHP 7.4 or higher
MySQL
XAMPP for local server
Composer for dependency management
Sublime Text recommended text editor

Installation

Step 1: Install XAMPP

Click here XAMPP

Step 2: Install Composer

Click here Composer

Step 3: Set Up CodeIgniter 4

  1. Open Terminal
  2. Navigate to `htdocs` in XAMPP
cd /path/to/xampp/htdocs
  1. Create a new `CodeIgniter 4` project using `Composer`
composer create-project codeigniter4/appstarter (any-name)

Step 4: Set Up MySQL Database

  1. Start XAMPP and activate the Apache and MySQL modules.
  2. Open phpMyAdmin by navigating to http://localhost/phpmyadmin in your web browser.
  3. Create a new database named (any-name).

Step 5: Configure CodeIgniter 4

  1. Open the project in Sublime Text.
  2. Configure the database settings in .env file located in the root directory
database.default.hostname = localhost
database.default.database = (any-name)
database.default.username = root
database.default.password = 
database.default.DBDriver = MySQLi

Step 6: Migrate the Database

  1. Open your terminal and navigate to the project directory
cd /path/to/xampp/htdocs/(your-folder)
  1. Run the migrations to set up the database tables
php spark migrate

Usage

  1. Start XAMPP and activate the Apache and MySQL modules.
  2. Open your web browser and navigate to http://localhost/(your-folder).
  3. You should see the homepage of the CRUD application.

Contributing

Contributions are welcome! Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Soft Launching CRUD CodeIgniter 4

Choose a tag to compare

@icaluwu icaluwu released this 09 Jul 05:07

Hello,this is my first ever release as a Programmer,anyone can use this as a template for Create Read Update Delete function in CodeIgniter4
Screenshot (375)
Screenshot (376)
Screenshot (377)
Screenshot (374)