spatie/email-concealer-cli

通过替换域名来隐藏文件中电子邮件的命令行工具

1.0.0 2017-04-21 12:56 UTC

This package is auto-updated.

Last update: 2024-08-24 19:58:35 UTC


README

在文件中隐藏电子邮件地址

Latest Version on Packagist StyleCI Quality Score Total Downloads

通过替换域名来隐藏文件中电子邮件的命令行工具。这对于隐藏生产数据(如MySQL转储)非常有用,这样您就可以在本地使用它,而不用担心系统中有真实地址。

此包是spatie/email-concealer的命令行应用程序。

支持我们

我们在创建一流的开放式源代码包上投入了大量资源。您可以通过购买我们的付费产品之一来支持我们。

我们非常感谢您从家乡寄来明信片,提及您正在使用我们的哪个包。您可以在我们的联系页面上找到我们的地址。我们将所有收到的明信片发布在我们的虚拟明信片墙上

明信片软件

您可以自由使用此软件包(它是MIT许可),但如果它进入您的生产环境,我们非常希望您从家乡寄来明信片,提及您正在使用我们的哪个包。

我们的地址是:Spatie,Kruikstraat 22,2018 Antwerp,比利时。

我们在我们的公司网站上发布所有收到的明信片。

安装

您可以通过composer安装此包

composer global require spatie/email-concealer-cli

用法

# Conceal all e-mail addresses in a file, and print the result
email-concealer conceal path_to_src_file

# Conceal all e-mail addresses in a file, and write the result to a new file
email-concealer conceal path_to_src_file path_to_dest_file

# Conceal all e-mail addresses in a file, and overwrite the existing file
email-concealer conceal path_to_src_file --overwrite

# Conceal all e-mail addresses by replacing them with a "spatie.be" domain
email-concealer conceal path_to_src_file --overwrite --domain="spatie.be"

变更日志

有关最近更改的更多信息,请参阅变更日志

贡献

有关详细信息,请参阅贡献指南

安全

如果您发现有关安全的错误,请通过security@spatie.be发送电子邮件,而不是使用问题跟踪器。

鸣谢

关于Spatie

Spatie是一家位于比利时的安特卫普网络设计公司。您可以在我们的网站上找到我们所有开源项目的概述。

许可证

MIT许可证(MIT)。有关更多信息,请参阅许可证文件