lookyman/entropy

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

Entropy provider library for PHP

v1.0.0 2015-12-21 12:20 UTC

This package is auto-updated.

Last update: 2022-02-01 12:53:36 UTC


README

Build Status Downloads Latest stable Coverage Status

Requirements

lookyman/Entropy requires PHP 5.5 or higher.

Installation

$ composer require lookyman/entropy

You can enable the extension using your neon config:

extensions:
	entropy: lookyman\Entropy\DI\EntropyExtension

Usage

This extension provides you with the service lookyman\Entropy\Provider\IEntropyProvider, that you can inject into your application.

// $this->provider in an instance of lookyman\Entropy\Provider\IEntropyProvider

var_dump($this->provider->getRandomPseudoBytes(8));