dmitriynyu/dummy-file-generator

Create dummy files of arbitrary length and content for testing

1.0.0 2016-09-23 13:51 UTC

This package is not auto-updated.

Last update: 2024-04-27 17:21:53 UTC


README

DummyFileGenerator creates dummy files of arbitrary length and content for testing.

Installation

Use Composer to install package or download and include files manually.

Usage

Make sure DummyFileGenerator is installed and available in your namespace.

$generator = new DummyFileGenerator();
$generator->generateFile($path, '1234567890', 1024);

Development

This package should not be used in production, but you can use it in your tests, if for whatever reasons you need to create dummy files and read content from it.

Feel free to submit a pull request.

License

MIT