CodeIgniter Forums
Hi all, new CI4 user for my startup - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Hi all, new CI4 user for my startup (/showthread.php?tid=86508)



Hi all, new CI4 user for my startup - memen - 01-28-2023

Hi All,
Today, I develop at work mainly with Laravel but at first in my current job I launched CI3 webapp which are still used and enjoy alot working with this code legacy project : simple, maintenable, easy, speed.
Now it's time for me to launch a new project for my business and although laravel offers ready-to-use solutions I prefer CI4 for mainy reasons : 
  • Speed
  • Simplicity
  • Easy to recrut junior mid level PHP developer and teach them how to work on CI4 in the near future 

I have some questions or advice, i want to know the best built-in solutions for : 
  • register / user / login system = myth auth ? Or social login auth exists ? 
  • relationship between models "laravel like" or fuc### this and do differently ?
  • Stripe intégration, looks like not very hard but if there is some system to integrate easily different way of payment, cool
Good WE all CI lovers Wink


RE: Hi all, new CI4 user for my startup - kenjis - 01-31-2023

I don't know these are the best, but there are packages:
https://github.com/codeigniter4/shield
https://github.com/datamweb/shield-oauth
https://github.com/tattersoftware/codeigniter4-stripe

About Model:
https://github.com/michalsn/codeigniter-nested-model
https://github.com/tattersoftware/codeigniter4-relations
But if you know SQL, it might be better not to use like these.
You can use `join()` method in Query Builder.