denis303 / codeigniter4-advanced-app
CodeIgniter4 advanced starter app
Installs: 179
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 3
Forks: 95
Open Issues: 1
Type:project
Requires
- php: >=7.2
- basic-app/auth: *
- basic-app/config: dev-main
- basic-app/email-helper: *
- basic-app/superadmin: *
- codeigniter4/framework: ^4
Requires (Dev)
- fzaninotto/faker: ^1.9@dev
- mikey179/vfsstream: 1.6.*
- phpunit/phpunit: ^8.5
This package is auto-updated.
Last update: 2024-10-29 05:29:04 UTC
README
Yii 2 Advanced Project Template ported to CodeIgniter 4.
Overview
- Signup
- Login
- Logout
- Email Confirmation
- Password Reset
- Contact Form
Remember me feature not working correct in Chrome (and other browsers) when:
- On Startup = "Continue where you left off"
- Continue running background apps when Google Chrome is closed = "On"
In this case browser not clean remember me cookie when remember me flag is not checked. This is not a bug in the code, but a feature of modern browsers.
Installation
composer create-project denis303/codeigniter4-advanced-app --stability=dev
Setup
-
Copy
env
to.env
and tailor for your app, specifically the baseURL and any database settings. -
Run
php spark migrate -all
.
Usage
If you don't receive email, you can create links manually:
- verification: /user/verifyEmail/<users.id>/<users.email_verification_token>
- reset password: /user/resetPassword/<users.id>/<users.password_reset_token>
Server Requirements
PHP version 7.2 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP: