Dutch Support added to Profanify and how you can contribute

Dutch Support added to Profanify and how you can contribute

I'm happy to announce that Profanify now has support for the Dutch language, thanks to Stanley Kinkelaar! Dutch means that Profanify now supports 5 languages, with plenty more to go! Support is available for:

  • English
  • Italian
  • Arabic
  • Portuguese
  • Dutch

If you don't know what Profanify is, it's a PestPHP plugin that scans your codebase and looks for profanity. It comes with features such as word inclusions and word exclusions and using it is as simple as:

  1. Installing it as a dependency
composer require jonpurvis/profanify --dev
  1. Adding a test
expect('App')
    ->toHaveNoProfanity()

As it's a PestPHP plugin, you can chain this on to methods in the Expectations API and it works wonderfully! If you are running your tests as part of your CI/CD pipeline, it will stop pesky profanity making its way to production.

I'm looking to expand the languages that it can support so to help with that, I've recently created a series of GitHub issues to add support for 5 more languages:

  • German
  • Hindi
  • French
  • Chinese
  • Japanese

If you're a native speaker of any of those languages, please consider submitting a Pull Request to kickstart support for any of them. It doesn't have to be full support, as it can be added to over time, but I'd love to be able to get started with supporting them.

If you're yet to check out Profanify, you can read all about it below or check out the Repository on GitHub.

Announcing Profanify
This weekend, I decided to work on a new plugin for PestPHP. If you don’t already know, PestPHP is one of my absolute favourite tools. I use it on a pretty much daily basis and I love working with it, whether it be adding new Expectations to the PestPHP framework,