PHPackages                             rych/random - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. rych/random

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rych/random
===========

Random data generator for PHP

v0.1.0(12y ago)16439.4k—3.6%7[4 PRs](https://github.com/rchouinard/rych-random/pulls)9MITPHPPHP &gt;=5.3.4

Since Nov 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rchouinard/rych-random)[ Packagist](https://packagist.org/packages/rych/random)[ Docs](https://github.com/rchouinard/rych-random)[ RSS](/packages/rych-random/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (3)Used By (9)

Rych Random Data Library
========================

[](#rych-random-data-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cb321bcc7fd093443bd785136a97e80489e0dde863f0811ad1f54e12b274cf10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f727963682f72616e646f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rych/random)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/0c3c63a5db8f9a4eae8f41f927f72378b8dd156e354f4d7d61eeb7a222e53287/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7263686f75696e6172642f727963682d72616e646f6d2e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rchouinard/rych-random)[![Coverage Status](https://camo.githubusercontent.com/57735e700e7f202e33e402f2a42ec272697ab6a15a741b5dc885cf8a515b07be/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f7263686f75696e6172642f727963682d72616e646f6d2e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/rchouinard/rych-random)[![Quality Score](https://camo.githubusercontent.com/3a4b7f8a881e753ca1ea3c44a5872e399413b3883bb4b899c84cf3e47b1716bb/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f65303630383864632d333065612d343935382d616131372d3431323534633336313334652e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/e06088dc-30ea-4958-aa17-41254c36134e)[![Total Downloads](https://camo.githubusercontent.com/90b16dadf47aec66909b5b26a1202353bcca82d17d15a9d08f803ddd9d9cb9bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f727963682f72616e646f6d2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rych/random)

This library aims to provide a clean interface to generating cryptographically secure random data in PHP 5.3+.

Install
-------

[](#install)

Via Composer

```
$ composer require rych/random
```

Usage
-----

[](#usage)

The library is easy to get up and running quickly. The best source of random data available for your platform will be automatically selected and configured.

```
