This package is abandoned and no longer maintained. No replacement package was suggested.

Random String Generator

v1.0.1 2015-12-08 07:46 UTC

This package is auto-updated.

Last update: 2022-02-01 12:46:23 UTC


Scrutinizer Code Quality Code Coverage

Build Status HHVM Status


Latest Stable Version Latest Unstable Version Total Downloads License

This library provides a random string generator based on source code of Defuse Security.

This generator uses PHP Mcrypt extension to generate random strings.

The Release Process

The release process is described here.


This library needs at least PHP 5.4. It has been successfully tested using PHP 5.4 to PHP 5.6, PHP 7.0 and HHVM


The preferred way to install this library is to rely on Composer:

composer require "spomky-labs/defuse-generator" "~1.0.0"

How to use

Take a look at How to use to use this random string generator.


Requests for new features, bug fixed and all other ideas to make this library useful are welcome. Please follow these best practices.


This library is release under MIT licence.