CodeIgniter Forums
CodeIgniter 4 Advanced Project Template - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Addins (https://forum.codeigniter.com/forum-34.html)
+--- Thread: CodeIgniter 4 Advanced Project Template (/thread-74407.html)

Pages: 1 2


CodeIgniter 4 Advanced Project Template - denis303 - 09-19-2019

Hi All! 

I have ported the Yii 2 Advanced Project Template to CodeIgniter 4.

Overview:
  • Signup
  • Login
  • Logout
  • Email Confirmation
  • Password Reset
  • Contact Form

Installation Instruction:
https://github.com/denis303/codeigniter4-advanced-app

UPD: I added a simple admin section. There is only one administrator, he is authorized by login and password from the .env file. It is completely independent of the authorization of regular users.

Access: /admin
Login: admin
Password: 12345

[Image: screen.png]


RE: Yii 2 Advanced App from Yii 2 to CodeIgniter 4 clone - FlavioSuar - 09-19-2019

Great!!! Thank you!!!


RE: Yii 2 Advanced App from Yii 2 to CodeIgniter 4 clone - denis303 - 10-02-2019

(09-19-2019, 08:36 AM)FlavioSuar Wrote: Great!!! Thank you!!!

You are welcome. Glad you liked it.


RE: Yii 2 Advanced App from Yii 2 to CodeIgniter 4 clone - denis303 - 12-26-2019

Hi All! I have updated the script, removed unnecessary dependencies and I made the code even easier.


RE: CodeIgniter 4 Project Template (Yii 2 Advanced App Clone) - denis303 - 10-16-2020

The app has been updated. I made it compatible with the latest CodeIgniter 4, removed Bootstrap 4, Bower, and other external client libraries.
Native framework layouts are used now.
Email messages now sent in HTML format.
Password and email verification through an UserRules validator class.
Internationalization is used in the User controller


RE: CodeIgniter 4 Advanced Project Template - MGatner - 10-18-2020

That was a lot of work! Looking good. My (easy) recommendation: check the CodeIgniter 4 manual for Authentication guidelines to be sure you are handling it in a way consistent with the expectations of other packages: https://codeigniter4.github.io/CodeIgniter4/extending/authentication.html

My other recommendation, which would be a lot of work: this would be great as a module, instead of a project base. The former is way easier to manage and install, the latter requires more upkeep and forces a developer into a single project starter, instead of being able to mix-and-match.

Thanks for sharing your work!


RE: CodeIgniter 4 Advanced Project Template - denis303 - 10-19-2020

(10-18-2020, 02:03 PM)MGatner Wrote: That was a lot of work! Looking good. My (easy) recommendation: check the CodeIgniter 4 manual for Authentication guidelines to be sure you are handling it in a way consistent with the expectations of other packages: https://codeigniter4.github.io/CodeIgniter4/extending/authentication.html

My other recommendation, which would be a lot of work: this would be great as a module, instead of a project base. The former is way easier to manage and install, the latter requires more upkeep and forces a developer into a single project starter, instead of being able to mix-and-match.

Thanks for sharing your work!

Thank you for your advice!

I followed your first tip and made some tweaks to ensure better compatibility with framework standards.

This project is exactly the starter application, and will remain so, because this is its main idea.


RE: CodeIgniter 4 Advanced Project Template - denis303 - 10-20-2020

I added a simple admin section. There is only one administrator, he is authorized by login and password from the .env file. It is completely independent of the authorization of regular users.

Access: /admin
Login: admin
Password: 12345


RE: CodeIgniter 4 Advanced Project Template - denis303 - 10-22-2020

I have added my library for integrating reCaptcha into the application.

https://github.com/denis303/codeigniter4-recaptcha

Version 2 or 3 is configured in the feedback form. By default, there is no captcha, but if you enter the secret keys into the .env file, it will appear.


RE: CodeIgniter 4 Advanced Project Template - Corsari - 02-02-2021

(10-22-2020, 01:57 PM)denis303 Wrote: I have added my library for integrating reCaptcha into the application.

https://github.com/denis303/codeigniter4-recaptcha
...

Thank you for sharing

I have seen your website too,
hope you'll have the time to add more often such interesting content