PHPackages                             larsbadke/stock-simulator - 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. larsbadke/stock-simulator

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

larsbadke/stock-simulator
=========================

Stock-Simulator is a PHP library that simulates fake stock data for you.

v0.2.0(9y ago)149MITPHPPHP ^5.3.3|^7.0

Since Aug 2Pushed 9y ago1 watchersCompare

[ Source](https://github.com/larsbadke/stock-simulator)[ Packagist](https://packagist.org/packages/larsbadke/stock-simulator)[ RSS](/packages/larsbadke-stock-simulator/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (4)Used By (0)

Stock Simulator
===============

[](#stock-simulator)

Stock-Simulator is a PHP library that simulates stock fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Stock-Simulator is for you.

Stock-Simulator requires PHP &gt;= 5.3.3.

Table of Contents
=================

[](#table-of-contents)

- [Installation](#installation)
- [Basic Usage](#basic-usage)
- [License](#license)

Installation
------------

[](#installation)

```
composer require larsbadke/stock-simulator
```

Basic Usage
-----------

[](#basic-usage)

Use `new Simulator\Simulator();` to create and initialize the Stock-Simulator, now you can simulate and create random stock quotes.

#### Simulate stock movements

[](#simulate-stock-movements)

Single movement

```
