mrhitman / chance
random generation library
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mrhitman/chance
Requires (Dev)
- phpunit/phpunit: ^8.4
- spatie/phpunit-watcher: ^1.21
This package is not auto-updated.
Last update: 2025-09-30 02:15:32 UTC
README
chance js library clone for php
$chance = new Chance($seed);
$chance->natural(['min' => 1, 'max' => 100]);
$chance->integer(['min' => -10, 'max' => 10]);
$chance->floating(['min' => -10, 'max' => 10, 'fixed' => 3]);
$chance->prime();
$chance->domain();
$chance->color();
$chance->ip();
$chance->age();
$chance->gender();
$chance->email();
$chance->coin();
$chance->string();
$chance->bool();
$chance->boolean();
$chance->letter();
$chance->word();