bnomei / kirby3-random
Kirby Tag and Page Method to generate various random values
Installs: 185
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 1
Type:kirby-plugin
pkg:composer/bnomei/kirby3-random
Requires
- php: >=8.0
 - getkirby/composer-installer: ^1.1
 - joshtronic/php-loremipsum: ^1.0
 
Requires (Dev)
- getkirby/cms: ^3.2
 - php-coveralls/php-coveralls: ^2.1
 - phpunit/phpunit: ^8.3
 
README
Kirby Tag and Page Method to generate various random values.
Installation
- unzip master.zip as folder 
site/plugins/kirby3-randomor git submodule add https://github.com/bnomei/kirby3-random.git site/plugins/kirby3-randomorcomposer require bnomei/kirby3-random
Usage
Markdown tables do not allow
|in regex so i wroteORinstead. For all random numbers the cryptographically safe PHP 7 functionrand_intis used.Bnomei\Randomcan be used asRandomifuse Bnomei\Random;is included at the head of the PHP script.
Dependencies
Disclaimer
This plugin is provided "as is" with no guarantee. Use it at your own risk and always test it yourself before using it in a production environment. If you find any issues, please create a new issue.
License
It is discouraged to use this plugin in any project that promotes racism, sexism, homophobia, animal abuse, violence or any other form of hate speech.