承接 skmetaly/laravel-smtp-email-verifier 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

skmetaly/laravel-smtp-email-verifier

最新稳定版本:1.1.1

Composer 安装命令:

composer require skmetaly/laravel-smtp-email-verifier

包简介

Laravel SMTP Email Validator

README 文档

README

Laravel SMTP Email verifier. Simple email verifier for Laravel that tries to check with SMTP server if the given email addresses exists or not

Installation

Require the package in composer.json :

"skmetaly/laravel-smtp-email-verifier": "dev-master"

In config/app.php add providers

'Skmetaly\EmailVerifier\EmailVerifierServiceProvider'

In aliases

'EmailVerifier'=>'Skmetaly\EmailVerifier\Facades\EmailVerifier'

Publish the config

php artisan vendor:publish --tag=email-verifier

If you want the test command, register it in app/Console/Kernel

'Skmetaly\EmailVerifier\Commands\TestEmailValidator'

Usage

####Test command

php artisan tem:email <email-address>

####Email Validator Currently you can ue EmaiLValidator with a string as an email address or an array containing email addresses

EmailVerifier::verify('foo@bar');

Will return true if the validator was able to connect and to validate the email address

EmailVerifier::verify(['foo@bar','baz@bar','baz@foo');

Will return an array with all the validated email addresses

Current status

Alpha

Licence

MIT

统计信息

  • 总下载量: 11.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 20
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 19
  • Watchers: 2
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-26