PHP code example of simplygoodwork / curses
1. Go to this page and download the library: Download simplygoodwork/curses library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
simplygoodwork / curses example snippets
// config/curses.php
return [
// Character used to mask profanity (default: '*')
// Set to an empty string '' to remove profanity entirely instead of masking
'maskCharacter' => '*',
// Your word list
'profanities' => [
'word1',
'word2',
// ...
],
];
bash
php craft plugin/install curses