Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 Advanced Project Template
#1

(This post was last modified: 10-20-2020, 04:05 AM by denis303.)

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]
Reply
#2

Great!!! Thank you!!!
Reply
#3

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

You are welcome. Glad you liked it.
Reply
#4

(This post was last modified: 12-26-2019, 12:44 AM by denis303.)

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

(This post was last modified: 10-16-2020, 12:30 PM by denis303.)

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

Attached Files Thumbnail(s)
   
Reply
#6

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!
Reply
#7

(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

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.
Reply
#8

(This post was last modified: 10-20-2020, 04:05 AM by denis303.)

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
Reply
#9

(This post was last modified: 10-22-2020, 01:57 PM by denis303.)

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.
Reply
#10

(This post was last modified: 02-02-2021, 10:54 PM by Corsari.)

(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
Reply




Theme © iAndrew 2016 - Forum software by © MyBB