CodeIgniter Forums
Naming convention for third party classes - 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: Naming convention for third party classes (/showthread.php?tid=86678)



Naming convention for third party classes - brucehvn - 02-09-2023

I'm working with CI 3.1.x which requires that all classes follow the naming convention of first letter UC and the rest lower case.
If I have third party libs installed directly or via composer and they do not follow that naming convention, will I have to modify them to conform, or is it more of just a convention to follow, but is somewhat optional?


RE: Naming convention for third party classes - InsiteFX - 02-10-2023

It's just a convention to follow, you can use which ever way you like.