CodeIgniter 4 Advanced Project Template |
Hi All!
I have ported the Yii 2 Advanced Project Template to CodeIgniter 4. Overview:
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
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
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/CodeIgnit...ation.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! (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/CodeIgnit...ation.html 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.
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
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. (10-22-2020, 01:57 PM)denis303 Wrote: I have added my library for integrating reCaptcha into the application. Thank you for sharing I have seen your website too, hope you'll have the time to add more often such interesting content |
Welcome Guest, Not a member yet? Register Sign In |