# Using Eris outside of PHPUnit¶

Eris can be reused as a library for (reproducibly) generating random data, outside of PHPUnit test cases. For example, it may be useful in other testing frameworks or in scripts that run inside your testing infrastructure but not tied to a specific PHPUnit test suite.

## Usage¶

<?php
use Eris\Generator;

$eris = new Eris\Facade();$eris
->then(function ($integer) { var_dump($integer);