Skip to content

denis303/codeigniter4-advanced-app

master
Switch branches/tags
Code
This branch is 99 commits ahead, 10 commits behind codeigniter4:master.
Contribute

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
env
 
 
 
 
 
 
 
 
 
 

CodeIgniter 4 Advanced Project Template

Yii 2 Advanced Project Template ported to CodeIgniter 4.

Screenshots
Welcome Page Signup Login
Reset Password Resend Verification Contact Form

Overview

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

Remember me feature not working correct in Chrome (and other browsers) when:

  1. On Startup = "Continue where you left off"
  2. 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

  1. Copy env to .env and tailor for your app, specifically the baseURL and any database settings.

  2. 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:

  • intl
  • libcurl if you plan to use the HTTP\CURLRequest library

Additionally, make sure that the following extensions are enabled in your PHP:

  • json (enabled by default - don't turn it off)
  • mbstring
  • mysqlnd
  • xml (enabled by default - don't turn it off)

About

CodeIgniter 4 Advanced Project Template

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
license.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 87.4%
  • Hack 6.6%
  • CSS 4.0%
  • JavaScript 1.7%
  • Other 0.3%