PHP Email Verification is a set of simple scripts to verify email addresses. Upon completion of an opt-in form, an email is produced with a 'verification' link.
- Secret management via PHP dotenv environment variables
- Google ReCaptcha spam filtering
- Secure SMTP authentication for emails using PHPMailer
- Prepared statements to prevent SQL injection attacks
- Install dependencies with composer:
composer install
- Register for ReCaptcha sitekey and secret
- Create an empty database
- Copy .env.example to .env, and fill required values:
cp .env.example .env
Dependencies are managed by Composer:
- MySQL-compatible database
- PHPMailer
- ReCaptcha
- PHP dotenv
- Fork this repo
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a pull request