Codeigniter How to setup module in codeigniter To create reusable code, CodeIgniter has an extension that enables the use of the Hierarchical…