{"id":19325000,"url":"https://github.com/spatie/email-concealer-cli","last_synced_at":"2025-04-22T20:31:00.051Z","repository":{"id":20142012,"uuid":"88971220","full_name":"spatie/email-concealer-cli","owner":"spatie","description":"CLI tool for concealing e-mails in a file by replacing their domain","archived":false,"fork":false,"pushed_at":"2022-05-24T14:55:00.000Z","size":52,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T03:43:22.537Z","etag":null,"topics":["cli","developer-tools","email","obfuscation","security","tool"],"latest_commit_sha":null,"homepage":"https://spatie.be/opensource/php","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spatie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-21T10:10:50.000Z","updated_at":"2022-03-09T16:21:46.000Z","dependencies_parsed_at":"2022-08-25T04:50:38.496Z","dependency_job_id":null,"html_url":"https://github.com/spatie/email-concealer-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Femail-concealer-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Femail-concealer-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Femail-concealer-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spatie%2Femail-concealer-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spatie","download_url":"https://codeload.github.com/spatie/email-concealer-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250318633,"owners_count":21410965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","developer-tools","email","obfuscation","security","tool"],"created_at":"2024-11-10T02:08:32.799Z","updated_at":"2025-04-22T20:30:59.794Z","avatar_url":"https://github.com/spatie.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[\u003cimg src=\"https://github-ads.s3.eu-central-1.amazonaws.com/support-ukraine.svg?t=1\" /\u003e](https://supportukrainenow.org)\n\n# Conceal e-mail addresses in a file\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/spatie/email-concealer-cli.svg?style=flat-square)](https://packagist.org/packages/spatie/email-concealer-cli)\n[![StyleCI](https://styleci.io/repos/88971220/shield?branch=master)](https://styleci.io/repos/88971220)\n[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/email-concealer-cli.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/email-concealer-cli)\n[![Total Downloads](https://img.shields.io/packagist/dt/spatie/email-concealer-cli.svg?style=flat-square)](https://packagist.org/packages/spatie/email-concealer-cli)\n\nCLI 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.\n\nThis package is a CLI app for [spatie/email-concealer](https://github.com/spatie/email-concealer).\n\n## Support us\n\n[\u003cimg src=\"https://github-ads.s3.eu-central-1.amazonaws.com/email-concealer-cli.jpg?t=1\" width=\"419px\" /\u003e](https://spatie.be/github-ad-click/email-concealer-cli)\n\nWe invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us).\n\nWe highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards).\n\n## Postcardware\n\nYou're free to use this package (it's [MIT-licensed](LICENSE.md)), 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.\n\nOur address is: Spatie, Kruikstraat 22, 2018 Antwerp, Belgium.\n\nWe publish all received postcards [on our company website](https://spatie.be/en/opensource/postcards).\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer global require spatie/email-concealer-cli\n```\n\n## Usage\n\n```bash\n# Conceal all e-mail addresses in a file, and print the result\nemail-concealer conceal path_to_src_file\n\n# Conceal all e-mail addresses in a file, and write the result to a new file\nemail-concealer conceal path_to_src_file path_to_dest_file\n\n# Conceal all e-mail addresses in a file, and overwrite the existing file\nemail-concealer conceal path_to_src_file --overwrite\n\n# Conceal all e-mail addresses by replacing them with a \"spatie.be\" domain\nemail-concealer conceal path_to_src_file --overwrite --domain=\"spatie.be\"\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details.\n\n## Security\n\nIf you've found a bug regarding security please mail [security@spatie.be](mailto:security@spatie.be) instead of using the issue tracker.\n\n## Credits\n\n- [Sebastian De Deyne](https://github.com/sebastiandedeyne)\n- [All Contributors](../../contributors)\n\n## About Spatie\n\nSpatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects [on our website](https://spatie.be/opensource).\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Femail-concealer-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspatie%2Femail-concealer-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspatie%2Femail-concealer-cli/lists"}