CodeIgniter Forums
Make codeigniter component based - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12)
+--- Thread: Make codeigniter component based (/showthread.php?tid=66117)



Make codeigniter component based - ahmedhamdi - 09-07-2016

I need to make a component based script what are the best solutions to do that with codeigniter?
I tried searching about HMVC and it seems good but I want to know any other ways if anyone know.

I mean with component based that I want for example make a component for users management and one for posts management and each component has a separate place (such as joomla components)

thanks for reply in advance.


RE: Make codeigniter component based - mwhitney - 09-16-2016

Stuffed at the end of this page: http://www.codeigniter.com/user_guide/general/autoloader.html
is the config option to enable Composer auto-loading, which would expand your options for loading "components."

Otherwise, HMVC probably is the closest thing to what you're describing.