What is the default folder structure of the PHP CodeIgniter framework?
Click open the file manager in cPanel, and go to the installation folder.
The application folder stores all custom PHP files of your project.CodeIgniter is developed using MVC architecture. MVC stands for Model, View and Controller.
Controllers: Controllers folder is for the controller php files. Controller files are used as a middle tire for the coding process. It connects the database with the front-end. Controllers are used for all processes, and manipulation of data.
Models: Models folder is for the model PHP files. Models are used for fetching, writing, updating and deleting data from the database.
Views: Files inside the views folder are for front-end design. Those files are used to display data and fetching user input.
Helpers: Helper functions are simple, procedural functions. Each helper function performs one specific task, with no dependence on other functions. Helpers are not written in an Object Oriented format.
Libraries: Library functions are the most versatile global functions. These functions can be used in Controllers and also directly in view files.
Hooks: Hooks are used to create events, or to trigger some action at a particular stage in the execution process.
Language: Language folder is for language files.
Config: All the files inside the config folder are used for storing configuration variables.
So, this is the default folder structure used in CodeIgniter.