Basic PHP Starter

Clean front page, shared layout, and a login flow that can handle 2FA.

This landing page uses shared header and footer includes, a centralized config file, and a simple two-step authentication demo so the project has a usable base structure.

01

Shared Layout

The header and footer live in the includes folder so the top navigation and footer stay consistent across pages.

02

Central Config

Database placeholders and auth defaults are centralized in one config file and can be overridden with environment variables.

03

2FA-Ready Login

The login flow always starts with email and password, then asks for a time-based one-time passcode only when the browser or device is new, untrusted, or being enrolled for the first time.