Introduction To CodeIgniter 4 | CodeIgniter4
From today we are going to learn about CodeIgniter 4 which is completely different from it's previous versions. CodeIgniter 4 comes with it's differe...
Gurpreet Kait
Author
From today we are going to learn about CodeIgniter 4 which is completely different from it's previous versions. CodeIgniter 4 comes with it's differe...
Gurpreet Kait
Author
From today we are going to learn about CodeIgniter 4 which is completely different from it's previous versions. CodeIgniter 4 comes with it's different look in last few months. It has changed directory structure completely. Well, We are going to take an intro of CodeIgniter 4 in this article. And will explore together what's there in Codeigniter 4 and how we can start working with codeIgnter 4.
This should be the question that what is codeIgniter we are going to learn about the codeIgniter atleast we should have a short understanding about codeIgniter what is does and what it is.
Basically, CodeIgniter is a MVC framework. If you don't know about the MVC framework then let me tell you that in MVC framework we work with model,view and controller. That completely works upon oops concept. And before starting into any MVC framework atleast you should have a basic knowledge of OOPs concept. If you are learning about CodeIgniter4 or Laravel or any other symphony something then you can easily understand the flow.
CodeIgniter as you know built with PHP, A beginner can learn codeIgniter very easily and it's not that much complex so you can learn it easily. By putting some enough efforts.
It has libraries, helpers and mostly that I like it has command line interface we can do many things with that. It will sound advance if you don't know about any short of MVC framework. What don't worry we will be learning everything.
It has a flexible working style that you can extend core code easily. And it's very flexible as I have used it. So, codeIgniter 4 is awesome than it's previous versions.
Well, I don't just want to write a paragraph about the features of CodeIgniter 4. As its almost three months I am into codeIgniter4 and I have only started from 4 then I would say if you will work on Ci3 then you will realize it's get improved a lot.
I want to list down all the features that I know of CI4
These are the features or advantages I have personally felt about codeIgniter 4 myself. So, It's good.
Basically every framework or library do have it's own requirements according to version so, in codeIngter 4 you should have at least 7.4 php version.
You should have enabled some extensions also if you are going to use codeIgniter 4.
Above extensions you can enable in your php.ini file.
You should have enabled some other extensions on your server as described below.
These are the some major requirments. Others you can read on Server Requirements CodeIgniter 4
There are two different ways to install the codeIgniter 4 to build your awesome project. But I would suggest to install with composer. And the another way is to install manually. Well, Installing with composer sounds a bit cool. Well, again it's totally depends on you. Which make you feel comfortable.
you can install with composer as described below:
composer create-project codeigniter4/appstarter project-name
So, after discussing about the starting things the conclusion is if you are new to MVC structure then codeIgniter is good fit for you. You can easily start with CI. Because its very easy not so complex and again you should have a bit of knowledge about PHP OOPs as well. So that you can understand the all stuff very easily.
Thanks.