wsw/email 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

wsw/email

最新稳定版本:1.1.0

Composer 安装命令:

composer require wsw/email

包简介

Value Object E-mail

README 文档

README

Value object for handling email-type values

Scrutinizer Code Quality Code Coverage Build Status

Installation

Via Composer:

composer require wsw/email

Usage

<?php use WSW\Email\Email; try { $email = new Email('ronaldo@whera.com.br'); echo $email->getEmail(); // (string) ronaldo@whera.com.br echo $email->getUsername(); // (string) ronaldo echo $email->getHostname(); // (string) whera.com.br print_r($email->getMx()); // (array) list mx records echo $email; // (string) ronaldo@whera.com.br } catch (\InvalidArgumentException $e) { echo $e->getMessage(); }

Testing

$ composer test

Security

If you discover any security related issues, please email ronaldo@whera.com.br instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固