CodeIgniter Basic Concepts Part-1

Mosharrf Hossain
Mh Mohon
Published in
2 min readApr 12, 2019

What is CodeIgniter?

CodeIgniter is a PHP MVC framework for developing applications rapidly. CodeIgniter provides out of the box libraries for connecting to the database and performing various operations. Like sending emails, uploading files, managing sessions, etc.

How to Download & Install CodeIgniter

Step: 1 — Open the following URL in your browser and download

Step: 2— Unzip in you xampp http folder

Step: 3— Just to make sure everything is ok, open the terminal and start the built-in PHP server

cd D:\Sites\ online-storephp -S localhost:3000

load the following URL into your browser

http://localhost:3000/

Or, We Can create a project by composer

Step: 1 — Open the following URL in your browser and download

Download the setup and follow the installation instructions.

Step: 2— Run the following command

composer create-project CodeIgniter/framework online-store

How CodeIgniter works:

In your application there are main three folder along with index.php

  1. application — this is the directory that will contain your application logic. All of your application code will be contained in this directory.
  2. system — this folder contains the framework core files.
  3. user_guide — this directory contains the user manual for CodeIgniter.
  4. index.php — this is the entry point into the application.

Reference from GURU99

--

--