定制 chandachewe/php-email-verification 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

chandachewe/php-email-verification

最新稳定版本:v1.0.0

Composer 安装命令:

composer require chandachewe/php-email-verification

包简介

This is the PHP package which allows the system to send verification emails to the new registered users. It uses PHPMAILER

README 文档

README

EMAIL VERIFICATION IN PHP

This repository was created by, and is maintained by Chanda Chewe. It is an email verification package in PHP which allows you to send verification emails to the new registered users.

INSTALLATION

If you have composer installed in your machine you can install this package by running composer require chandachewe/php-email-verification on your CLI.

USE CASE

Navigate to src/libs/config.php and setup the configurations there. An example below is given for you

EXAMPLE

Your Db credentials here
define("DB_HOST", "localhost");
define("DB_USER", "root");
define("DB_PASS", "test1234");
define("DB_NAME", "users");
define("TABLE_NAME", "registration");

Define Your smtp Configurations here
define("SMTP_HOST", "smtp.google.com");
define("SMTP_USER", "chewec03@example.com");
define("SMTP_PASS", "***********");
define("SMTP_SECURE", "ssl");
define("SMTP_PORT", "465");
define("EMAIL_SENDER_NAME", "CHANDA CHEWE");

VERIFYING URL
define("URL","http://localhost/project/src/verify.php")

The TABLE_NAME defined should be the table where you will be storing registered users. This table should contain the email,pass and verified_at columns. You can start with with the register.php in the folder.

统计信息

  • 总下载量: 4
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-01