承接 yoozi/email 相关项目开发

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

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

yoozi/email

Composer 安装命令:

composer require yoozi/email

包简介

Simple toolkits to help processing email related tasks, such as a Email Address Parser and etc.

关键字:

README 文档

README

This library is part of Project Golem, see yoozi/golem for more info.

PHP libraries to help processing email related tasks, such as a Email Address Parser and etc.

Installation

The best and easy way to install the Golem package is with Composer.

  1. Open your composer.json and add the following to the require array:

    "yoozi/email": "1.0.*"
    
  2. Run Composer to install or update the new package dependencies.

    php composer install
    

    or

    php composer update
    

Usage

Email Address Parser

We can use this Parser class to parse an email address.

<?php

use Yoozi\Email\Address\Parser;

$email = 'user@gmail.com';
$parts = $this->parser->parse($email);

var_dump($meta);

Data returned:

array(5) {
  ["email"]=>
  string(18) "user@gmail.com"
  ["local"]=>
  string(8) "user"
  ["domain"]=>
  string(9) "gmail.com"
  ["url"]=>
  string(22) "http://mail.google.com"
  ["listed"]=>
  bool(true)
}
  • email: The email address we are currently parsing.
  • local: Local part of this address.
  • domain: Domain name of this address.
  • url: Url for users to log into the email service.
  • listed: Whether this address is listed in the thrid-party email service provider whitelist.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固