Download the PHP package luffy/randomizer without Composer

On this page you can find all versions of the php package luffy/randomizer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package randomizer

trueRandom

基于random.org提供的API生成真正的随机数,包括整数序列、小数序列、高斯分布、字符串、uuid、二进制大对象(blob)。

在使用前先去random.org申请一个API key, 对每个API key限制了每天生成的随机数或随机字符串的数量,相关信息将会在每次获取随机数时一并返回。

安装

通过composer,在你的composer.json文件中添加如下

使用

生成整数序列

参数依次表示随机数个数,最小值,最大值,进制(2/8/10/16),是否允许重复出现随机数

返回一个数组

出错时返回如下,比如$base出错

生成浮点数随机数

参数依次表示随机数个数,小数位数,$replacement同上

返回数据格式同上

生成高斯分布随机数

参数依次表示随机数个数,均值,方差,有效数字

生成随机字符串

参数依次表示 随机字符串个数,字符串长度,选取的字符集

生成随机的uuid

参数表示uuid的个数

生成二进制大对象blob

参数依次表示随机blob个数,blob长度(bit),返回数据的编码格式

查看API key当前的状态信息

返回数据如下


All versions of randomizer with dependencies

PHP Build Version
Package Version
Requires guzzlehttp/guzzle Version ^6.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package luffy/randomizer contains the following files

Loading the files please wait ....