CLI tool for concealing e-mails in a file by replacing their domain
CLI tool for concealing e-mails in a file by replacing their domain. Useful for concealing production data—like MySQL dumps—so you can use it locally without worrying about having real addresses on your system.
This package is a CLI app for spatie/email-concealer.
You're free to use this package (it's MIT-licensed), but if it makes it to your production environment we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.
We publish all received postcards on our company website.
You can install the package via 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"
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email firstname.lastname@example.org instead of using the issue tracker.
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
The MIT License (MIT). Please see License File for more information.