You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6
Original file line number
Diff line number
Diff line change
@@ -79,9 +79,6 @@ Optionally you can specify *wordCacheFile* to control the location and name of t
79
79
80
80
To a custom instance you can pass an optional boolean parameter *fetch*. When false, the cached wordlist will be preferred but falls back to fetching if it could not be loaded.
81
81
82
-
You can also mix different RSS sources into the same wordlist file with the `appendWordlist` parameter, increasing entropy, or regularly rebuild your cache file from time to time to feed it with new words. Altought having more words is always desirable,
83
-
you can limit the number of items in the wordlist with the `limitWordlist` configuration parameter. When using append, wordlist is shuffled before being limited to the desired quantity.
When fetching an RSS source the normal behaviour is to create a new list, overwriting an existing cache file. You can opt-in to merge the new wordlist with an exisiting cache file instead, by setting the `appendWordlist` parameter to true. On the one hand this will result in bigger word lists, increasing entropy, on the other hand this may lead to very long lists. You can limit the number of items in the wordlist with the `limitWordlist` configuration parameter. When using this option and the wordlist is exceeding that limit, it is shuffled and then sliced to that number.
96
+
97
+
```php
98
+
include 'PasswordGenerator.php';
99
+
100
+
use \Darkv\PhpPasswordGenerator\PasswordGenerator;
96
101
97
-
// Append NYTimes feed to the specified wordlist, limiting to 7000 items max
102
+
// append NYTimes feed to the specified wordlist, limiting to 7000 items max
0 commit comments