Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 1006 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 1006 Bytes

Proper Name

Proper Name is a Craft CMS plugin intended to reduce liability and improve SEO by preventing biased (gender, ethnicity...), copyrighted (shutterstock, getty...) and other non desired naming.

Installation

composer require leowebguy/proper-name

On your Control Panel, go to Settings → Plugins → "Proper Name" → Install

Settings

Set words that you would prefer NOT to be used in assets naming.

Screenshot

Output error

Screenshot

Testing

If you have Codeception already setup, use the following command to symlink the plugin test file vendor/leowebguy/proper-name/tests/unit/ProperNameTest.php into tests/unit/ folder.

ln -s ../../vendor/leowebguy/proper-name/tests/unit/ProperNameTest.php ./tests/unit/ProperNameTest.php;

Then run php vendor/bin/codecept run unit from your root

Screenshot