Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fetus-hina/fisher-yates-shuffle


https://github.com/fetus-hina/fisher-yates-shuffle

Last synced: 10 days ago
JSON representation

Awesome Lists containing this project

README

        

fisher-yates-shuffle
====================

Simple implementation of Fisher-Yates Shuffle algorithm.

REQUIREMENTS
------------

* PHP 5.4 or later (strongly recommended PHP 5.6 or later)
* Composer

USAGE
-----

1. Install via [Composer](https://getcomposer.org/).

`$ composer.phar require "jp3cki/fisher-yates-shuffle"`

2. Use `jp3cki\fisherYatesShuffle\shuffle` function.

### PHP 5.6 or later ###

```php