Skip to content

alexandergknoll/php-email-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Email Verification

Description

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.

Features

  • 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

Installation/usage

  1. Install dependencies with composer: composer install
  2. Register for ReCaptcha sitekey and secret
  3. Create an empty database
  4. Copy .env.example to .env, and fill required values: cp .env.example .env

Dependencies

Dependencies are managed by Composer:

Contributing

  1. Fork this repo
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a pull request